summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-18 20:36:02 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-05-18 20:49:11 +0200
commit7927aed991a73a7147f9d388af97725123456179 (patch)
treee4536b1cf51c587e5ca2ce66153216880a17a798 /tests
parent538112181fb2264bddb8898e2e52587b90d885f5 (diff)
downloadnextcloud-server-7927aed991a73a7147f9d388af97725123456179.tar.gz
nextcloud-server-7927aed991a73a7147f9d388af97725123456179.zip
Adjust token name
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/User/SessionTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/User/SessionTest.php b/tests/lib/User/SessionTest.php
index 1bcc6ce3a4d..fcff4f64726 100644
--- a/tests/lib/User/SessionTest.php
+++ b/tests/lib/User/SessionTest.php
@@ -956,7 +956,7 @@ class SessionTest extends \Test\TestCase {
$request->expects($this->once())
->method('getHeader')
->with('Authorization')
- ->will($this->returnValue('token xxxxx'));
+ ->will($this->returnValue('Bearer xxxxx'));
$this->tokenProvider->expects($this->once())
->method('getToken')
->with('xxxxx')