Add code to ApcCacheTestCase::setUp() to verify the cache bins in ApcCacheTestCase::$cacheBins are effectively handled by DrupalApcCache

Created on 27 July 2024, about 2 months ago
Updated 11 August 2024, about 1 month ago

ApcCacheTestCase::setUp() sets the persistent variables that change the cache back-end for the cache bins stored in ApcCacheTestCase::$cacheBins.
It should also verify the returned objects for those cache bins are instances of DrupalApcCache. If, for any reason, the returned objects are not instances of DrupalApcCache, the tests should not run, as in the better case we are testing the database cache back-end; in the worst case, we are testing an unknown class instances.

📌 Task
Status

Fixed

Version

1.0

Component

Tests

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024