Update deprecated test
This commit is contained in:
parent
b10487ac13
commit
bc0c3774eb
@ -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/manga/all', $this->urlGenerator->default_url('manga'), "Incorrect default url");
|
||||||
$this->assertEquals('//localhost/anime/watching', $this->urlGenerator->default_url('anime'), "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');
|
$this->urlGenerator->default_url('foo');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user