mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-23 14:40:49 +08:00
Merge pull request #153 from nagisa77/codex/fix-test-case-for-complexflowintegrationtest
Fix integration tests by using valid usernames
This commit is contained in:
@@ -107,7 +107,7 @@ class ComplexFlowIntegrationTest {
|
||||
@Test
|
||||
void reactionsReturnedForPostAndComment() {
|
||||
String t1 = registerAndLogin("carol1", "c@example.com");
|
||||
String t2 = registerAndLogin("dave12", "d@example.com");
|
||||
String t2 = registerAndLogin("dave01", "d@example.com");
|
||||
|
||||
String adminToken = registerAndLoginAsAdmin("admin2", "admin2@example.com");
|
||||
List<Map<String, Object>> categories = (List<Map<String, Object>>) rest.getForObject("/api/categories", List.class);
|
||||
|
||||
Reference in New Issue
Block a user