Browse Source

Fix a unit test hand error.

tags/2.0.14.2
xutongle 7 years ago
parent
commit
d704f87219
  1. 2
      tests/framework/caching/MemCacheTest.php

2
tests/framework/caching/MemCacheTest.php

@ -29,7 +29,7 @@ class MemCacheTest extends CacheTestCase
// check whether memcached is running and skip tests if not.
if (!@stream_socket_client('127.0.0.1:11211', $errorNumber, $errorDescription, 0.5)) {
$this->markTestSkipped('No redis server running at ' . '127.0.0.1:11211' . ' : ' . $errorNumber . ' - ' . $errorDescription);
$this->markTestSkipped('No memcached server running at ' . '127.0.0.1:11211' . ' : ' . $errorNumber . ' - ' . $errorDescription);
}
if ($this->_cacheInstance === null) {

Loading…
Cancel
Save