diff --git a/tests/Stash/Test/Driver/RedisTest.php b/tests/Stash/Test/Driver/RedisTest.php index c60649ce..aff7152a 100644 --- a/tests/Stash/Test/Driver/RedisTest.php +++ b/tests/Stash/Test/Driver/RedisTest.php @@ -67,7 +67,7 @@ protected function getInvalidOptions() public function testBadDisconnect() { - $this->expectException('Warning'); + $this->expectException("RedisException"); if (defined('HHVM_VERSION')) { $this->markTestSkipped('This test can not run on HHVM as HHVM throws a different set of errors.'); }