Skip to content

Commit 2e1954b

Browse files
authored
Merge pull request #432 from DavidGoodwin/fix-redistest-driver-expectation
RedisTest throws \RedisException, so expect that, not Warning
2 parents d913dea + 56cc4e6 commit 2e1954b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Stash/Test/Driver/RedisTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function getInvalidOptions()
6767

6868
public function testBadDisconnect()
6969
{
70-
$this->expectException('Warning');
70+
$this->expectException("RedisException");
7171
if (defined('HHVM_VERSION')) {
7272
$this->markTestSkipped('This test can not run on HHVM as HHVM throws a different set of errors.');
7373
}

0 commit comments

Comments
 (0)