summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-09-06 10:29:14 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-09-07 22:09:32 +0200
commit1cdf4e9540b6b804fafec045371a64bd0bcfa027 (patch)
tree52af4ad749707db9f94ac5a2283130d49d83bf5b /tests
parentfb4850ffa8127168a048538ce84dd909ff6553f4 (diff)
downloadnextcloud-server-1cdf4e9540b6b804fafec045371a64bd0bcfa027.tar.gz
nextcloud-server-1cdf4e9540b6b804fafec045371a64bd0bcfa027.zip
Set default
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/Controller/SecuritySettingsControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Settings/Controller/SecuritySettingsControllerTest.php b/tests/Settings/Controller/SecuritySettingsControllerTest.php
index 11b0edcae23..302dc730fc4 100644
--- a/tests/Settings/Controller/SecuritySettingsControllerTest.php
+++ b/tests/Settings/Controller/SecuritySettingsControllerTest.php
@@ -57,8 +57,8 @@ class SecuritySettingsControllerTest extends \PHPUnit_Framework_TestCase {
$this->container['Config']
->expects($this->once())
->method('getSystemValue')
- ->with('trusted_domains')
- ->will($this->returnValue(''));
+ ->with($this->equalTo('trusted_domains'), $this->equalTo([]))
+ ->willReturn([]);
$response = $this->securitySettingsController->trustedDomains('newdomain.com');
$expectedResponse = array('status' => 'success');