You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigger_deprecation('symfony/cache', '7.1', 'The "%s" class is deprecated, use "%s" instead.', CouchbaseBucketAdapter::class, CouchbaseCollectionAdapter::class);
class CouchbaseBucketAdapterTest extends AdapterTestCase
27
27
{
28
+
use ExpectDeprecationTrait;
29
+
28
30
protected$skippedTests = [
29
31
'testClearPrefix' => 'Couchbase cannot clear by prefix',
30
32
];
31
33
32
-
protectedstatic\CouchbaseBucket$client;
34
+
protected\CouchbaseBucket$client;
33
35
34
-
publicstaticfunctionsetupBeforeClass(): void
36
+
protectedfunctionsetUp(): void
35
37
{
36
-
if (!CouchbaseBucketAdapter::isSupported()) {
37
-
self::markTestSkipped('Couchbase >= 2.6.0 < 3.0.0 is required.');
38
-
}
38
+
$this->expectDeprecation('Since symfony/cache 7.1: The "Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter" class is deprecated, use "Symfony\Component\Cache\Adapter\CouchbaseCollectionAdapter" instead.');
0 commit comments