Update deprecated test
This commit is contained in:
parent
0c70bcb948
commit
b4de2cfe01
@ -194,7 +194,7 @@ class DispatcherTest extends AnimeClient_TestCase {
|
||||
$this->assertEquals('//localhost/manga/all', $this->urlGenerator->default_url('manga'), "Incorrect default url");
|
||||
$this->assertEquals('//localhost/anime/watching', $this->urlGenerator->default_url('anime'), "Incorrect default url");
|
||||
|
||||
$this->setExpectedException('\InvalidArgumentException');
|
||||
$this->expectException(\InvalidArgumentException::class);
|
||||
$this->urlGenerator->default_url('foo');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user