[6.x] [test fix] - Adds authentication_realm and lookup_realm to the list of expected keys (#26470) (#26540)

Backports the following commits to 6.x:
 - [test fix] - Adds authentication_realm and lookup_realm to the list of expected keys  (#26470)
This commit is contained in:
Larry Gregory 2018-12-03 11:44:30 -05:00 committed by GitHub
parent d94af086eb
commit 5f8ce1c0bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -100,7 +100,9 @@ export default function ({ getService }) {
'roles',
'scope',
'metadata',
'enabled'
'enabled',
'authentication_realm',
'lookup_realm',
]);
expect(apiResponse.body.username).to.be(validUsername);
});
@ -137,7 +139,9 @@ export default function ({ getService }) {
'roles',
'scope',
'metadata',
'enabled'
'enabled',
'authentication_realm',
'lookup_realm',
]);
expect(apiResponse.body.username).to.be(validUsername);
});

View file

@ -132,7 +132,9 @@ export default function ({ getService }) {
'roles',
'scope',
'metadata',
'enabled'
'enabled',
'authentication_realm',
'lookup_realm',
]);
expect(apiResponse.body.username).to.be('a@b.c');
@ -171,7 +173,9 @@ export default function ({ getService }) {
'roles',
'scope',
'metadata',
'enabled'
'enabled',
'authentication_realm',
'lookup_realm',
]);
expect(apiResponse.body.username).to.be('a@b.c');