File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
platform-api/src/test/java/com/flow/platform/api/test/service Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 2929import com .flow .platform .api .service .node .YmlService ;
3030import com .flow .platform .api .test .TestBase ;
3131import com .flow .platform .api .util .NodeUtil ;
32- import com .flow .platform .core .exception .FlowException ;
3332import com .flow .platform .core .exception .IllegalParameterException ;
3433import com .flow .platform .util .http .HttpURL ;
3534import java .nio .file .Files ;
@@ -286,7 +285,7 @@ public void should_create_flow_success() {
286285 Assert .assertNotNull (nodeService .createEmptyFlow ("flow" ));
287286 }
288287
289- @ Test
288+ @ Test ( expected = IllegalParameterException . class )
290289 public void should_create_flow_error () {
291290 // not start with _
292291 nodeService .createEmptyFlow ("_flow-test" );
You can’t perform that action at this time.
0 commit comments