From b4de2cfe01cee1cb2b2c465c78503b5931d086f7 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Mon, 6 Feb 2017 11:00:18 -0500 Subject: [PATCH] Update deprecated test --- tests/DispatcherTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DispatcherTest.php b/tests/DispatcherTest.php index cd3abf83..4b9202f9 100644 --- a/tests/DispatcherTest.php +++ b/tests/DispatcherTest.php @@ -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'); }