Skip to content

Commit faa12f6

Browse files
committed
No Query object returned
When the test returns List<Query> empty list returned.
1 parent 7420e2d commit faa12f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/org/omg/sysml/api/QueryApiTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
import java.util.Map;
3636

3737
/**
38+
* wip - test returns list<Query> contains no Query object and no able to test API requires queryId
3839
* API tests for QueryApi
3940
*/
4041
public class QueryApiTest {
@@ -154,7 +155,7 @@ public void getQueryResultsByProjectIdQueryTest() throws ApiException {
154155
if (body == null) {
155156
fail("Failed - no query available");
156157
}
157-
try {
158+
try {
158159
UUID commitId = null;
159160
List<Element> response = api.getQueryResultsByProjectIdQuery(projectId, body, commitId);
160161
System.out.println("=== getQueryResultsByProjectIdQueryTest() === " + response.size());

0 commit comments

Comments
 (0)