Skip to content

Commit 9d1f886

Browse files
committed
Fix tests
1 parent 7deb37c commit 9d1f886

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tests/Dashboards/APCuTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class APCuTest extends TestCase {
2222

2323
public static function setUpBeforeClass(): void {
2424
if (ini_get('apc.enable_cli') !== '1') {
25-
self::markTestSkipped('APC CLI is not enabled. Skipping all tests.');
25+
self::markTestSkipped('APC CLI is not enabled. Skipping tests.');
2626
}
2727
}
2828

tests/Dashboards/Redis/PredisTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88

99
namespace Tests\Dashboards\Redis;
1010

11+
use Predis\Client;
12+
1113
class PredisTest extends RedisTestCase {
14+
public static function setUpBeforeClass(): void {
15+
if (!class_exists(Client::class)) {
16+
self::markTestSkipped('Predis is not installed. Skipping tests.');
17+
}
18+
}
19+
1220
protected string $client = 'predis';
1321
}

0 commit comments

Comments
 (0)