diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-10-27 13:24:28 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-10-27 13:24:28 +0200 |
commit | d4b9b010b0cb753a86af63cb917020e790555036 (patch) | |
tree | 958af49517afc49746bb65727420f3871144f4f8 /tests/lib/Http/Client/ClientTest.php | |
parent | 9ba3f264c0df619f2ee9c8edde0dfa291764f910 (diff) | |
download | nextcloud-server-d4b9b010b0cb753a86af63cb917020e790555036.tar.gz nextcloud-server-d4b9b010b0cb753a86af63cb917020e790555036.zip |
Rename LocalAddressChecker methods to lower case
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Http/Client/ClientTest.php')
-rw-r--r-- | tests/lib/Http/Client/ClientTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/Http/Client/ClientTest.php b/tests/lib/Http/Client/ClientTest.php index 25d4749df57..fa2374aeb7e 100644 --- a/tests/lib/Http/Client/ClientTest.php +++ b/tests/lib/Http/Client/ClientTest.php @@ -203,7 +203,7 @@ class ClientTest extends \Test\TestCase { $this->expectException(LocalServerException::class); $this->localAddressChecker ->expects($this->once()) - ->method('ThrowIfLocalAddress') + ->method('throwIfLocalAddress') ->with('http://' . $uri) ->will($this->throwException(new LocalServerException())); @@ -218,7 +218,7 @@ class ClientTest extends \Test\TestCase { $this->expectException(LocalServerException::class); $this->localAddressChecker ->expects($this->once()) - ->method('ThrowIfLocalAddress') + ->method('throwIfLocalAddress') ->with('http://' . $uri) ->will($this->throwException(new LocalServerException())); @@ -233,7 +233,7 @@ class ClientTest extends \Test\TestCase { $this->expectException(LocalServerException::class); $this->localAddressChecker ->expects($this->once()) - ->method('ThrowIfLocalAddress') + ->method('throwIfLocalAddress') ->with('http://' . $uri) ->will($this->throwException(new LocalServerException())); @@ -248,7 +248,7 @@ class ClientTest extends \Test\TestCase { $this->expectException(LocalServerException::class); $this->localAddressChecker ->expects($this->once()) - ->method('ThrowIfLocalAddress') + ->method('throwIfLocalAddress') ->with('http://' . $uri) ->will($this->throwException(new LocalServerException())); @@ -263,7 +263,7 @@ class ClientTest extends \Test\TestCase { $this->expectException(LocalServerException::class); $this->localAddressChecker ->expects($this->once()) - ->method('ThrowIfLocalAddress') + ->method('throwIfLocalAddress') ->with('http://' . $uri) ->will($this->throwException(new LocalServerException())); |