mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-04 01:32:14 +00:00
Logging adjustments for gae sample.
This commit is contained in:
parent
6ba8257cab
commit
d1279aeda2
@ -1,4 +1,5 @@
|
|||||||
.level = INFO
|
.level = INFO
|
||||||
|
|
||||||
org.springframework.level = FINE
|
samples.gae.level = FINER
|
||||||
|
org.springframework.level = INFO
|
||||||
org.springframework.security.level = FINER
|
org.springframework.security.level = FINER
|
@ -18,6 +18,11 @@ public class AppRoleTests {
|
|||||||
assertEquals("ADMIN", admin.getAuthority());
|
assertEquals("ADMIN", admin.getAuthority());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void bitsAreCorrect() throws Exception {
|
||||||
|
// If this fails, someone has modified the Enum and the Datastore is probably corrupt!
|
||||||
|
assertEquals(0, ADMIN.getBit());
|
||||||
|
assertEquals(1, NEW_USER.getBit());
|
||||||
|
assertEquals(2, USER.getBit());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user