mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Update for PHP7.4 compatibility + UnitTests
This commit is contained in:
parent
493c12846a
commit
b99217f2c0
9 changed files with 51 additions and 75 deletions
|
@ -181,12 +181,14 @@ class Resque_Tests_RedisTest extends Resque_Tests_TestCase
|
|||
|
||||
/**
|
||||
* @dataProvider bogusDsnStringProvider
|
||||
*
|
||||
* @expectedException InvalidArgumentException
|
||||
*
|
||||
* @param $dsn
|
||||
*/
|
||||
public function testParsingBogusDsnStringThrowsException($dsn)
|
||||
{
|
||||
// The next line should throw an InvalidArgumentException
|
||||
$this->expectException(InvalidArgumentException::class);
|
||||
Resque_Redis::parseDsn($dsn);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue