Skip to content

Commit a0a2f66

Browse files
minherzanguillanneuf
authored andcommitted
chore: fix failing tests
set content type to RESOURCE because the example in the test does not provide all arguments required for the content type RELATIONSHIP
1 parent 98d9402 commit a0a2f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asset/src/test/java/com/example/asset/QuickStartIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void testExportAssetBigqueryExample() throws Exception {
113113
String.format("projects/%s/datasets/%s", ServiceOptions.getDefaultProjectId(), datasetName);
114114
String table = "java_test";
115115
ExportAssetsBigqueryExample.exportBigQuery(
116-
dataset, table, ContentType.RELATIONSHIP, /*perType*/ false);
116+
dataset, table, ContentType.RESOURCE, /*perType*/ false);
117117
String got = bout.toString();
118118
assertThat(got).contains(String.format("dataset: \"%s\"", dataset));
119119
}

0 commit comments

Comments
 (0)