summaryrefslogtreecommitdiffstats
path: root/tests/Core
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-02-02 21:56:44 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-02-02 21:56:44 +0100
commit5e728d0eda85710b667b6399dbae8c2cbab8e72d (patch)
treed24d3fb3e0ce57060731d04cbee5a412bd4814ba /tests/Core
parent949fbdef33c527ef481bcf1cb44c9d8c4a781000 (diff)
downloadnextcloud-server-5e728d0eda85710b667b6399dbae8c2cbab8e72d.tar.gz
nextcloud-server-5e728d0eda85710b667b6399dbae8c2cbab8e72d.zip
oc_token should be nc_token
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Core')
-rw-r--r--tests/Core/Controller/LoginControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Core/Controller/LoginControllerTest.php b/tests/Core/Controller/LoginControllerTest.php
index a1a4452abf8..72f921724a5 100644
--- a/tests/Core/Controller/LoginControllerTest.php
+++ b/tests/Core/Controller/LoginControllerTest.php
@@ -89,7 +89,7 @@ class LoginControllerTest extends TestCase {
$this->request
->expects($this->once())
->method('getCookie')
- ->with('oc_token')
+ ->with('nc_token')
->willReturn(null);
$this->config
->expects($this->never())
@@ -108,7 +108,7 @@ class LoginControllerTest extends TestCase {
$this->request
->expects($this->once())
->method('getCookie')
- ->with('oc_token')
+ ->with('nc_token')
->willReturn('MyLoginToken');
$user = $this->getMockBuilder('\\OCP\\IUser')->getMock();
$user