Skip to content

Commit c27a4f8

Browse files
authored
Merge branch 'dev' into language-switch-fixes
2 parents 1f60e0f + 6fa8d8b commit c27a4f8

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

server/api-service/lowcoder-server/src/test/java/org/lowcoder/api/application/ApplicationApiServiceTest.java

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import java.util.Set;
77

88
import org.junit.Assert;
9+
import org.junit.Ignore;
910
import org.junit.Test;
1011
import org.junit.runner.RunWith;
1112
import org.lowcoder.api.application.ApplicationEndpoints.CreateApplicationRequest;
@@ -47,6 +48,7 @@ public class ApplicationApiServiceTest {
4748

4849
@Test
4950
@WithMockUser
51+
@Ignore("Disabled until it is fixed")
5052
public void testAutoInheritFoldersPermissionsOnAppCreate() {
5153
Mono<ApplicationPermissionView> permissionViewMono =
5254
folderApiService.grantPermission("folder01", Set.of("user02"), Set.of("group01"), ResourceRole.EDITOR)
@@ -92,6 +94,7 @@ private boolean equals(PermissionItemView p1, PermissionItemView p2) {
9294

9395
@Test
9496
@WithMockUser
97+
@Ignore("Disabled until it is fixed")
9598
public void testRecycleAndDeleteApplicationSuccess() {
9699

97100
Mono<Application> applicationMono = createApplication("app02", null)
@@ -106,6 +109,7 @@ public void testRecycleAndDeleteApplicationSuccess() {
106109

107110
@Test
108111
@WithMockUser
112+
@Ignore("Disabled until it is fixed")
109113
public void testDeleteNormalApplicationWithError() {
110114

111115
StepVerifier.create(applicationApiService.delete("app02"))
@@ -123,6 +127,7 @@ private Mono<ApplicationView> createApplication(String name, String folderId) {
123127

124128
@Test
125129
@WithMockUser
130+
@Ignore("Disabled until it is fixed")
126131
public void testPublishApplication() {
127132
Mono<String> applicationIdMono = createApplication("test", null)
128133
.map(applicationView -> applicationView.getApplicationInfoView().getApplicationId())
@@ -155,6 +160,7 @@ public void testPublishApplication() {
155160

156161
@Test
157162
@WithMockUser
163+
@Ignore("Disabled until it is fixed")
158164
public void testPermissions() {
159165
// test grant permissions.
160166
Mono<ApplicationPermissionView> applicationPermissionViewMono =

server/api-service/lowcoder-server/src/test/java/org/lowcoder/api/application/CompoundApplicationDslFilterTest.java

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class CompoundApplicationDslFilterTest {
2424
private CompoundApplicationDslFilter filter;
2525

2626
@Test
27+
@Ignore("Disabled until it is fixed")
2728
public void testGetAllSubAppIdsFromCompoundAppDsl() {
2829

2930
Map<String, Object> dsl = JsonFileReader.readMap(CompoundApplicationDslFilterTest.class);
@@ -33,6 +34,7 @@ public void testGetAllSubAppIdsFromCompoundAppDsl() {
3334

3435
@Test
3536
@WithMockUser
37+
@Ignore("Disabled until it is fixed")
3638
public void testRemoveSubAppsFromCompoundDslWithAdminUser() {
3739

3840
Map<String, Object> dsl = JsonFileReader.readMap(CompoundApplicationDslFilterTest.class);
@@ -44,6 +46,7 @@ public void testRemoveSubAppsFromCompoundDslWithAdminUser() {
4446

4547
@Test
4648
@WithMockUser(id = "user02")
49+
@Ignore("Disabled until it is fixed")
4750
public void testRemoveSubAppsFromCompoundDslWithNormalUser() {
4851

4952
Map<String, Object> dsl = JsonFileReader.readMap(CompoundApplicationDslFilterTest.class);

server/api-service/lowcoder-server/src/test/java/org/lowcoder/api/authentication/AuthenticationControllerTest.java

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import java.util.Map;
1212
import java.util.Objects;
1313

14+
import org.junit.Ignore;
1415
import org.junit.Test;
1516
import org.junit.runner.RunWith;
1617
import org.lowcoder.api.authentication.AuthenticationEndpoints.FormLoginRequest;
@@ -54,6 +55,7 @@ public class AuthenticationControllerTest {
5455
private AuthenticationService authenticationService;
5556

5657
@Test
58+
@Ignore("Disabled until it is fixed")
5759
public void testFormRegisterSuccess() {
5860
String email = "[email protected]";
5961
String password = "lowcoder";
@@ -100,6 +102,7 @@ public void testFormRegisterSuccess() {
100102
.verifyComplete();
101103
}
102104
@Test
105+
@Ignore("Disabled until it is fixed")
103106
public void testFormLoginSuccess() {
104107
String email = "[email protected]";
105108
String password = "lowcoder";
@@ -153,6 +156,7 @@ public void testFormLoginSuccess() {
153156
}
154157

155158
@Test
159+
@Ignore("Disabled until it is fixed")
156160
public void testRegisterFailByLoginIdExist() {
157161

158162
String email = "[email protected]";
@@ -175,6 +179,7 @@ public void testRegisterFailByLoginIdExist() {
175179
}
176180

177181
@Test
182+
@Ignore("Disabled until it is fixed")
178183
public void testLoginFailByLoginIdNotExist() {
179184
String email = "[email protected]";
180185
String password = "lowcoder";
@@ -202,6 +207,7 @@ private String getEmailAuthConfigId() {
202207
}
203208

204209
@Test
210+
@Ignore("Disabled until it is fixed")
205211
public void logout() {
206212
}
207213
}

server/api-service/lowcoder-server/src/test/java/org/lowcoder/api/infra/ServerConfigRepositoryTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.google.common.collect.ImmutableList;
44
import lombok.extern.slf4j.Slf4j;
5+
import org.junit.Ignore;
56
import org.junit.Test;
67
import org.junit.runner.RunWith;
78
import org.lowcoder.infra.config.model.ServerConfig;
@@ -29,6 +30,7 @@ public class ServerConfigRepositoryTest {
2930
private ConfigInstance configInstance;
3031

3132
@Test
33+
@Ignore("Disabled until it is fixed")
3234
public void test() throws InterruptedException {
3335

3436
Conf<Integer> test1 = configInstance.ofInteger("key1", 0);

server/api-service/lowcoder-server/src/test/java/org/lowcoder/api/service/FolderApiServiceTest.java

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public class FolderApiServiceTest {
3535

3636
@Test
3737
@WithMockUser
38+
@Ignore("Disabled until it is fixed")
3839
public void create() {
3940
Folder folder = new Folder();
4041
folder.setParentFolderId(null);
@@ -46,6 +47,7 @@ public void create() {
4647

4748
@Test
4849
@WithMockUser
50+
@Ignore("Disabled until it is fixed")
4951
public void delete() {
5052

5153
String id = "folder03";
@@ -65,6 +67,7 @@ public void delete() {
6567

6668
@Test
6769
@WithMockUser
70+
@Ignore("Disabled until it is fixed")
6871
public void update() {
6972
String id = "folder02";
7073

@@ -86,6 +89,7 @@ public void update() {
8689

8790
@Test
8891
@WithMockUser
92+
@Ignore("Disabled until it is fixed")
8993
public void move() {
9094

9195
Mono<? extends List<?>> mono = folderApiService.move("app01", "folder02")
@@ -102,6 +106,7 @@ public void move() {
102106

103107
@Test
104108
@WithMockUser
109+
@Ignore("Disabled until it is fixed")
105110
public void grantPermission() {
106111

107112
Mono<ApplicationPermissionView> mono =

server/api-service/lowcoder-server/src/test/java/org/lowcoder/api/service/impl/ApplicationHistorySnapshotServiceTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import com.google.common.collect.ImmutableMap;
44
import lombok.extern.slf4j.Slf4j;
5+
import org.junit.Ignore;
56
import org.junit.Test;
67
import org.junit.runner.RunWith;
78
import org.lowcoder.domain.application.model.ApplicationHistorySnapshot;
@@ -25,6 +26,7 @@ public class ApplicationHistorySnapshotServiceTest {
2526
private ApplicationHistorySnapshotService service;
2627

2728
@Test
29+
@Ignore("Disabled until it is fixed")
2830
public void testServiceMethods() {
2931

3032
String applicationId = "123123";

0 commit comments

Comments
 (0)