]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adjust token name
authorLukas Reschke <lukas@statuscode.ch>
Thu, 18 May 2017 18:36:02 +0000 (20:36 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Thu, 18 May 2017 18:49:11 +0000 (20:49 +0200)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
tests/lib/User/SessionTest.php

index 1bcc6ce3a4da7f3a9c2485048e181fe9b0b8c026..fcff4f64726e3967dfccc989abe180cad0f7f19d 100644 (file)
@@ -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')