Version 5.1 - All the GraphQL #32
@ -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