File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
server/api-service/lowcoder-server/src/test/java/org/lowcoder/api/application Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 88import org .junit .Assert ;
99import org .junit .Test ;
1010import org .junit .runner .RunWith ;
11+ import org .lowcoder .api .application .ApplicationEndpoints .ApplicationRequestType ;
1112import org .lowcoder .api .application .ApplicationEndpoints .CreateApplicationRequest ;
1213import org .lowcoder .api .application .view .ApplicationPermissionView ;
1314import org .lowcoder .api .application .view .ApplicationView ;
@@ -133,7 +134,7 @@ public void testPublishApplication() {
133134 .verifyComplete ();
134135
135136 // published dsl before publish
136- StepVerifier .create (applicationIdMono .flatMap (id -> applicationApiService .getPublishedApplication (id )))
137+ StepVerifier .create (applicationIdMono .flatMap (id -> applicationApiService .getPublishedApplication (id , ApplicationRequestType . PUBLIC_TO_ALL )))
137138 .assertNext (applicationView -> Assert .assertEquals (Map .of ("comp" , "table" ), applicationView .getApplicationDSL ()))
138139 .verifyComplete ();
139140
@@ -147,7 +148,7 @@ public void testPublishApplication() {
147148 .verifyComplete ();
148149
149150 // published dsl after publish
150- StepVerifier .create (applicationIdMono .flatMap (id -> applicationApiService .getPublishedApplication (id )))
151+ StepVerifier .create (applicationIdMono .flatMap (id -> applicationApiService .getPublishedApplication (id , ApplicationRequestType . PUBLIC_TO_ALL )))
151152 .assertNext (applicationView -> Assert .assertEquals (Map .of ("comp" , "list" ), applicationView .getApplicationDSL ()))
152153 .verifyComplete ();
153154 }
You can’t perform that action at this time.
0 commit comments