update unit tests

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Björn Schiessle 2018-03-16 17:51:37 +01:00
parent 7daab97ace
commit 370594b439
No known key found for this signature in database
GPG key ID: 2378A753E2BF04F6
2 changed files with 9 additions and 0 deletions

View file

@ -59,6 +59,11 @@ class Test extends TestCase {
'url' => '/saml/error',
'verb' => 'GET',
],
[
'name' => 'SAML#selectUserBackEnd',
'url' => '/saml/selectUserBackEnd',
'verb' => 'GET',
],
],
];
$this->assertSame($expected, $routes);

View file

@ -94,6 +94,10 @@ class AdminTest extends \Test\TestCase {
'text' => 'Use SAML auth for the Nextcloud desktop clients (requires user re-authentication)',
'type' => 'checkbox',
],
'allow_multiple_user_back_ends' => [
'text' => $this->l10n->t('Allow the use of multiple user back-ends (e.g. LDAP)'),
'type' => 'checkbox',
],
];
$attributeMappingSettings = [
'displayName_mapping' => [