Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2016-04-03 12:34:10 +0100
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
8e614ecb6e02f539e615baf954dfc0f44fb955c4
8e614ecb
1 parent
d099885f
Updated tests to match recent email confirmation changes
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
tests/Auth/LdapTest.php
tests/Auth/LdapTest.php
View file @
8e614ec
...
...
@@ -43,7 +43,7 @@ class LdapTest extends \TestCase
->
press
(
'Sign In'
)
->
seePageIs
(
'/'
)
->
see
(
$this
->
mockUser
->
name
)
->
seeInDatabase
(
'users'
,
[
'email'
=>
$this
->
mockUser
->
email
,
'email_confirmed'
=>
1
,
'external_auth_id'
=>
$this
->
mockUser
->
name
]);
->
seeInDatabase
(
'users'
,
[
'email'
=>
$this
->
mockUser
->
email
,
'email_confirmed'
=>
false
,
'external_auth_id'
=>
$this
->
mockUser
->
name
]);
}
public
function
test_login_works_when_no_uid_provided_by_ldap_server
()
...
...
@@ -67,7 +67,7 @@ class LdapTest extends \TestCase
->
press
(
'Sign In'
)
->
seePageIs
(
'/'
)
->
see
(
$this
->
mockUser
->
name
)
->
seeInDatabase
(
'users'
,
[
'email'
=>
$this
->
mockUser
->
email
,
'email_confirmed'
=>
1
,
'external_auth_id'
=>
$ldapDn
]);
->
seeInDatabase
(
'users'
,
[
'email'
=>
$this
->
mockUser
->
email
,
'email_confirmed'
=>
false
,
'external_auth_id'
=>
$ldapDn
]);
}
public
function
test_initial_incorrect_details
()
...
...
Please
register
or
sign in
to post a comment