Commit a3df197
committed
Polish LDAP Test to Confirm Authenticated
This commit updates a test that confirms the
users is successfully authenticated. It uses
SecurityMockMvcResultMatchers to check the
SecurityContextHolder.
It further updates one of the assertions which
was working only when the resulting JSON was malformed.1 parent af2e8d8 commit a3df197
1 file changed
Lines changed: 4 additions & 2 deletions
File tree
- security/security-ldap/src/test/java/com/example/security/ldap
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments