There was an error while loading. Please reload this page.
1 parent 8a6b2d4 commit 1a23096Copy full SHA for 1a23096
server/app/src/test/java/io/whitefox/api/deltasharing/server/DeltaSharesApiImplTest.java
@@ -330,6 +330,23 @@ public void getTableVersionBadTimestamp() {
330
.statusCode(502);
331
}
332
333
+ @DisabledOnOs(OS.WINDOWS)
334
+ @Test
335
+ public void queryNotExistingTable() throws IOException {
336
+ given()
337
+ .when()
338
+ .filter(deltaFilter)
339
+ .body("{}")
340
+ .header(new Header("Content-Type", "application/json"))
341
+ .post(
342
+ "delta-api/v1/shares/{share}/schemas/{schema}/tables/{table}/query",
343
+ "name",
344
+ "default",
345
+ "tableThatDoesNotExist")
346
+ .then()
347
+ .statusCode(404);
348
+ }
349
+
350
@DisabledOnOs(OS.WINDOWS)
351
@Test
352
public void queryTableCurrentVersion() throws IOException {
0 commit comments