feat: add model groups, verified registration and CNY credit grants
This commit is contained in:
1 parent
f5ba6cb255
commit
7a18db2123
40 files changed
+1980
-263
No files matched your search
@@ -64,7 +64,7 @@ class AuthPostgresTest {
|
||||
assertThrows(DataIntegrityViolationException.class, () -> jdbc.update("UPDATE users SET role = 'super_admin' WHERE id = ?", operatorId));
|
||||
assertThrows(IllegalStateException.class, () -> auth.ensureAdmin("operator", "test-password", "Other"));
|
||||
|
||||
MockMvc http = MockMvcBuilders.standaloneSetup(new AuthController(auth, 168, true))
|
||||
MockMvc http = MockMvcBuilders.standaloneSetup(new AuthController(auth, org.mockito.Mockito.mock(VerificationService.class), 168, true))
|
||||
.setControllerAdvice(new ApiExceptionHandler()).build();
|
||||
var ownerCookie = login(http, "adimin", "super_admin");
|
||||
var operatorCookie = login(http, "operator", "admin");
|
||||
|
||||
Reference in new issue
Block a user