Skip to content

Commit 601027b

Browse files
committed
Add some logging to failing test
1 parent b06eb44 commit 601027b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/fusiondb/studio/api/ExplorerIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818
package com.fusiondb.studio.api;
1919

20+
import io.restassured.filter.log.LogDetail;
2021
import org.junit.jupiter.api.Test;
2122

2223
import static com.fusiondb.studio.api.API.getApiBaseUri;
@@ -41,6 +42,7 @@ public void db() {
4142
when().
4243
get(getApiBaseUri() + "/explorer?uri=/db").
4344
then().
45+
//log().ifValidationFails(LogDetail.BODY).
4446
statusCode(SC_OK).
4547
assertThat().
4648
body(matchesJsonSchemaInClasspath("explorer-schema.json"));

0 commit comments

Comments
 (0)