Update deprecated test

This commit is contained in:
Timothy Warren 2017-02-06 11:00:18 -05:00
parent 0c70bcb948
commit b4de2cfe01
1 changed files with 1 additions and 1 deletions

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