Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-16 18:27:56 +0300
committerRobin Appelman <robin@icewind.nl>2016-11-16 21:14:36 +0300
commitd2dee32756f23024f8d2ebc0de8d3478dc784f41 (patch)
treeca1fc7dbc3e5e93f9d689c3f0315e24bd9d3ea45 /tests/Settings
parent61453f5fd5eb3e742d1c757def36ce8f6be408f3 (diff)
fix warnings when updating app password
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/Settings')
-rw-r--r--tests/Settings/Controller/AuthSettingsControllerTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/Settings/Controller/AuthSettingsControllerTest.php b/tests/Settings/Controller/AuthSettingsControllerTest.php
index 782c9f644e0..bb87958cf0f 100644
--- a/tests/Settings/Controller/AuthSettingsControllerTest.php
+++ b/tests/Settings/Controller/AuthSettingsControllerTest.php
@@ -212,15 +212,14 @@ class AuthSettingsControllerTest extends TestCase {
$token->expects($this->once())
->method('setScope')
->with($this->equalTo([
- 'filesystem' => true,
- 'app' => ['dav', 'myapp']
+ 'filesystem' => true
]));
$this->tokenProvider->expects($this->once())
->method('updateToken')
->with($this->equalTo($token));
- $this->assertSame([], $this->controller->update(42, ['filesystem' => true, 'apps' => ['dav', 'myapp']]));
+ $this->assertSame([], $this->controller->update(42, ['filesystem' => true]));
}
}