summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-04-05 21:38:54 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-04-05 21:43:51 +0200
commit176b4d6832f67e4969fe92d54f15b2fe71660d47 (patch)
tree2b4fe3da4f69af7faf718ef800be923eafbbed33 /tests
parentfeef3cbba03c4517b25a60820e8c4534b0a02b67 (diff)
downloadnextcloud-server-176b4d6832f67e4969fe92d54f15b2fe71660d47.tar.gz
nextcloud-server-176b4d6832f67e4969fe92d54f15b2fe71660d47.zip
Ping more privacy respecting organizations
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Controller/CheckSetupControllerTest.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php
index a616cc3e70b..9faf4a4b719 100644
--- a/tests/Settings/Controller/CheckSetupControllerTest.php
+++ b/tests/Settings/Controller/CheckSetupControllerTest.php
@@ -150,7 +150,7 @@ class CheckSetupControllerTest extends TestCase {
->method('get')
->will($this->throwException(new \Exception()));
- $this->clientService->expects($this->exactly(3))
+ $this->clientService->expects($this->exactly(4))
->method('newClient')
->will($this->returnValue($client));
@@ -285,13 +285,17 @@ class CheckSetupControllerTest extends TestCase {
->will($this->throwException(new \Exception()));
$client->expects($this->at(1))
->method('get')
- ->with('http://www.google.com/', [])
+ ->with('http://www.startpage.com/', [])
->will($this->throwException(new \Exception()));
$client->expects($this->at(2))
->method('get')
- ->with('http://www.github.com/', [])
+ ->with('http://www.eff.org/', [])
->will($this->throwException(new \Exception()));
- $this->clientService->expects($this->exactly(3))
+ $client->expects($this->at(3))
+ ->method('get')
+ ->with('http://www.edri.org/', [])
+ ->will($this->throwException(new \Exception()));
+ $this->clientService->expects($this->exactly(4))
->method('newClient')
->will($this->returnValue($client));
$this->urlGenerator->expects($this->at(0))