diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-03 12:03:02 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-03 12:33:29 +0200 |
commit | d3e3a84cae9c8926bcff810a0e16bb9dcd024888 (patch) | |
tree | 80d5588474a46f07c6dd8da142c429c3655f058f /tests/lib/http | |
parent | 500748725c46803ff2a0ec291db37a831322012c (diff) | |
download | nextcloud-server-d3e3a84cae9c8926bcff810a0e16bb9dcd024888.tar.gz nextcloud-server-d3e3a84cae9c8926bcff810a0e16bb9dcd024888.zip |
Move the helpful method to the TestCase class
Diffstat (limited to 'tests/lib/http')
-rw-r--r-- | tests/lib/http/client/clienttest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/http/client/clienttest.php b/tests/lib/http/client/clienttest.php index bd909769b09..c76fe0532a7 100644 --- a/tests/lib/http/client/clienttest.php +++ b/tests/lib/http/client/clienttest.php @@ -47,7 +47,7 @@ class ClientTest extends \Test\TestCase { ->method('getSystemValue') ->with('proxyuserpwd', null) ->willReturn(null); - $this->assertSame('', \Test_Helper::invokePrivate($this->client, 'getProxyUri')); + $this->assertSame('', self::invokePrivate($this->client, 'getProxyUri')); } public function testGetProxyUriProxyHostEmptyPassword() { @@ -61,7 +61,7 @@ class ClientTest extends \Test\TestCase { ->method('getSystemValue') ->with('proxyuserpwd', null) ->willReturn(null); - $this->assertSame('foo', \Test_Helper::invokePrivate($this->client, 'getProxyUri')); + $this->assertSame('foo', self::invokePrivate($this->client, 'getProxyUri')); } public function testGetProxyUriProxyHostWithPassword() { @@ -75,7 +75,7 @@ class ClientTest extends \Test\TestCase { ->method('getSystemValue') ->with('proxyuserpwd', null) ->willReturn('username:password'); - $this->assertSame('username:password@foo', \Test_Helper::invokePrivate($this->client, 'getProxyUri')); + $this->assertSame('username:password@foo', self::invokePrivate($this->client, 'getProxyUri')); } public function testGet() { |