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

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-01-26 16:38:51 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-01-26 21:03:03 +0300
commitb13a9983e248ebf4a66e56205be3565e9f650119 (patch)
treef11e2038843a282e9f7a2211f57405b11ab75387 /tests
parentc06679fa74a86cacd35e52b09c54131ff7943ad3 (diff)
adjust to recent merged changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/Controller/SAMLControllerTest.php1
-rw-r--r--tests/unit/UserBackendTest.php5
-rw-r--r--tests/unit/UserDataTest.php2
3 files changed, 2 insertions, 6 deletions
diff --git a/tests/unit/Controller/SAMLControllerTest.php b/tests/unit/Controller/SAMLControllerTest.php
index 856988a1..f1d878de 100644
--- a/tests/unit/Controller/SAMLControllerTest.php
+++ b/tests/unit/Controller/SAMLControllerTest.php
@@ -39,7 +39,6 @@ use OCP\IUser;
use OCP\IUserSession;
use PHPUnit\Framework\MockObject\MockObject;
use OCP\Security\ICrypto;
-use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class SAMLControllerTest extends TestCase {
diff --git a/tests/unit/UserBackendTest.php b/tests/unit/UserBackendTest.php
index 0d6ff71e..6325091a 100644
--- a/tests/unit/UserBackendTest.php
+++ b/tests/unit/UserBackendTest.php
@@ -287,9 +287,4 @@ class UserBackendTest extends TestCase {
$this->userBackend->updateAttributes('ExistingUser', ['email' => 'new@example.com', 'displayname' => 'New Displayname', 'quota' => '']);
}
- ['aaabbbcc@aa.bbbccdd.eee.ff', 'aaabbbcc@aa.bbbccdd.eee.ff'],
- ['aaabbbcccaa.bbbccdddeee', 'aaabbbcccaa.bbbccdddeee']
-
-
-
}
diff --git a/tests/unit/UserDataTest.php b/tests/unit/UserDataTest.php
index 74108058..a27f6b2b 100644
--- a/tests/unit/UserDataTest.php
+++ b/tests/unit/UserDataTest.php
@@ -58,6 +58,8 @@ class UserDataTest extends TestCase {
['EDE70D16-B9D5-4E9A-ABD7-614D17246E3F', 'EDE70D16-B9D5-4E9A-ABD7-614D17246E3F'],
['Tm8gY29udmVyc2lvbgo=', 'Tm8gY29udmVyc2lvbgo='],
['ASfjU2OYEd69ZgAVF4pePA==', '53E32701-9863-DE11-BD66-0015178A5E3C'],
+ ['aaabbbcc@aa.bbbccdd.eee.ff', 'aaabbbcc@aa.bbbccdd.eee.ff'],
+ ['aaabbbcccaa.bbbccdddeee', 'aaabbbcccaa.bbbccdddeee']
];
}