Skip to content

Commit 0745170

Browse files
committed
upd tests
1 parent 3b22ac8 commit 0745170

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

tests/predis/sentinel/RedisCacheTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ protected function getCacheInstance()
2727
$this->markTestSkipped('No redis server connection configured.');
2828
}
2929
$connection = new PredisConnection($params);
30-
// if (!@stream_socket_client($connection->hostname . ':' . $connection->port, $errorNumber, $errorDescription, 0.5)) {
31-
// $this->markTestSkipped('No redis server running at ' . $connection->hostname . ':' . $connection->port . ' : ' . $errorNumber . ' - ' . $errorDescription);
32-
// }
3330

3431
$this->mockApplication(['components' => ['redis' => $connection]]);
3532

tests/predis/sentinel/config/config.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22
/**
33
* This is the configuration file for the Yii2 unit tests.
4-
* You can override configuration values by creating a `config.local.php` file
5-
* and manipulate the `$config` variable.
64
*/
75

86
$config = [

tests/predis/standalone/RedisCacheTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ protected function getCacheInstance()
2727
$this->markTestSkipped('No redis server connection configured.');
2828
}
2929
$connection = new PredisConnection($params);
30-
// if (!@stream_socket_client($connection->hostname . ':' . $connection->port, $errorNumber, $errorDescription, 0.5)) {
31-
// $this->markTestSkipped('No redis server running at ' . $connection->hostname . ':' . $connection->port . ' : ' . $errorNumber . ' - ' . $errorDescription);
32-
// }
3330

3431
$this->mockApplication(['components' => ['redis' => $connection]]);
3532

tests/predis/standalone/config/config.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22
/**
33
* This is the configuration file for the Yii2 unit tests.
4-
* You can override configuration values by creating a `config.local.php` file
5-
* and manipulate the `$config` variable.
64
*/
75

86
$config = [

0 commit comments

Comments
 (0)