diff options
Diffstat (limited to 'tests/lib/Http/Client/LocalAddressCheckerTest.php')
-rw-r--r-- | tests/lib/Http/Client/LocalAddressCheckerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/Http/Client/LocalAddressCheckerTest.php b/tests/lib/Http/Client/LocalAddressCheckerTest.php index 8c8e64eddf9..024c52b3705 100644 --- a/tests/lib/Http/Client/LocalAddressCheckerTest.php +++ b/tests/lib/Http/Client/LocalAddressCheckerTest.php @@ -47,7 +47,7 @@ class LocalAddressCheckerTest extends \Test\TestCase { */ public function testThrowIfLocalAddress($uri) : void { $this->expectException(LocalServerException::class); - $this->localAddressChecker->ThrowIfLocalAddress('http://' . $uri); + $this->localAddressChecker->throwIfLocalAddress('http://' . $uri); } /** @@ -55,7 +55,7 @@ class LocalAddressCheckerTest extends \Test\TestCase { * @param string $uri */ public function testThrowIfLocalAddressGood($uri) : void { - $this->localAddressChecker->ThrowIfLocalAddress('http://' . $uri); + $this->localAddressChecker->throwIfLocalAddress('http://' . $uri); $this->assertTrue(true); } @@ -66,7 +66,7 @@ class LocalAddressCheckerTest extends \Test\TestCase { */ public function testThrowIfLocalIpBad($ip) : void { $this->expectException(LocalServerException::class); - $this->localAddressChecker->ThrowIfLocalIp($ip); + $this->localAddressChecker->throwIfLocalIp($ip); } /** @@ -74,7 +74,7 @@ class LocalAddressCheckerTest extends \Test\TestCase { * @param string $ip */ public function testThrowIfLocalIpGood($ip) : void { - $this->localAddressChecker->ThrowIfLocalIp($ip); + $this->localAddressChecker->throwIfLocalIp($ip); $this->assertTrue(true); } |