diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-10 19:15:31 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-10 19:15:31 +0200 |
commit | 5befce51ef9f38609b713cfbc6095a3b60b1d574 (patch) | |
tree | 0bbe540c109afa83086ed7ad43adb8a215e54633 /tests/unit/utility/ConfigTest.php | |
parent | db545b430a513e7fda3fba5859972b6c550958b5 (diff) |
add proxy support based on simplepie pr, fix #491
Diffstat (limited to 'tests/unit/utility/ConfigTest.php')
-rw-r--r-- | tests/unit/utility/ConfigTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/utility/ConfigTest.php b/tests/unit/utility/ConfigTest.php index d3f91b975..9cea0acf0 100644 --- a/tests/unit/utility/ConfigTest.php +++ b/tests/unit/utility/ConfigTest.php @@ -57,7 +57,7 @@ class ConfigFetcherTest extends \OCA\News\Utility\TestUtility { $this->assertEquals(true, $this->config->getUseCronUpdates()); $this->assertEquals(8080, $this->config->getProxyPort()); $this->assertEquals('', $this->config->getProxyHost()); - $this->assertEquals('', $this->config->getProxyPassword()); + $this->assertEquals('', $this->config->getProxyAuth()); } @@ -124,11 +124,11 @@ class ConfigFetcherTest extends \OCA\News\Utility\TestUtility { "useCronUpdates = true\n" . "proxyHost = yo man\n" . "proxyPort = 12\n" . - "proxyPassword = this is a test"; + "proxyAuth = this is a test"; $this->config->setAutoPurgeCount(3); $this->config->setProxyHost("yo man"); $this->config->setProxyPort(12); - $this->config->setProxyPassword("this is a test"); + $this->config->setProxyAuth("this is a test"); $this->fileSystem->expects($this->once()) ->method('file_put_contents') @@ -154,7 +154,7 @@ class ConfigFetcherTest extends \OCA\News\Utility\TestUtility { "useCronUpdates = false\n" . "proxyHost = \n" . "proxyPort = 8080\n" . - "proxyPassword = "; + "proxyAuth = "; $this->fileSystem->expects($this->once()) ->method('file_put_contents') |