Skip to content

Commit 0c4b7d2

Browse files
committed
fix build
1 parent 18a23dd commit 0c4b7d2

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

dashjoin-core/src/test/java/org/dashjoin/service/ModelTest.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void checkLayout(JsonNode tree) {
144144
if (tree.get("widget") != null) {
145145
// System.out.println(tree.get("widget"));
146146
Assertions.assertTrue(Arrays
147-
.asList("button", "links", "dj-toolbar", "dj-table-metadata", "chart", "card",
147+
.asList("aichat", "button", "links", "dj-toolbar", "dj-table-metadata", "chart", "card",
148148
"expansion", "edit", "all", "create", "container", "grid", "display", "${pk1}",
149149
"text", "activity-status", "upload", "icon", "spacer", "layout-edit-switch", "search",
150150
"search-result", "toolbar", "table", "queryeditor", "editRelated", "markdown", "page",
@@ -154,14 +154,17 @@ void checkLayout(JsonNode tree) {
154154

155155
for (Entry<String, JsonNode> e : IteratorUtils.toList(tree.fields())) {
156156
// System.out.println(e);
157-
Assertions.assertTrue(Arrays.asList("ID", "widget", "text", "title", "pageLayout", "readOnly",
158-
"tooltip", "icon", "icons", "href", "children", "database", "table", "schema", "chart",
159-
"query", "arguments", "fxHide", "display", "prop", "createSchema", "columns", "roles",
160-
"if", "context", "properties", "deleteConfirmation", "print", "navigate", "markdown",
161-
"layout", "style", "class", /* schema info in config.json */ "name", "parent",
162-
/* gridster stuff */ "x", "y", "rows", "cols", /* redraw container */ "redrawInterval",
163-
"expression", "html", "script", "hideframe", "clearCache", "card", "size", "cached")
164-
.contains(e.getKey()));
157+
Assertions
158+
.assertTrue(Arrays
159+
.asList("ID", "widget", "text", "title", "pageLayout", "readOnly", "tooltip", "icon",
160+
"icons", "href", "children", "database", "table", "schema", "chart", "query",
161+
"arguments", "fxHide", "display", "prop", "createSchema", "columns", "roles",
162+
"if", "context", "properties", "deleteConfirmation", "print", "navigate",
163+
"markdown", "layout", "style", "class", /* schema info in config.json */ "name",
164+
"parent", /* gridster stuff */ "x", "y", "rows", "cols",
165+
/* redraw container */ "redrawInterval", "expression", "html", "script",
166+
"hideframe", "clearCache", "card", "size", "cached", "onChat")
167+
.contains(e.getKey()));
165168
if (e.getKey().equals("url"))
166169
Assertions.assertTrue(e.getValue() instanceof TextNode);
167170
}

0 commit comments

Comments
 (0)