Update deprecated test

This commit is contained in:
Timothy Warren 2017-02-06 11:00:18 -05:00
parent b10487ac13
commit bc0c3774eb

View File

@ -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');
}