Skip to content

Commit 418f563

Browse files
addressed comments
1 parent 93e2f43 commit 418f563

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spark-bigquery-connector-common/src/test/java/com/google/cloud/spark/bigquery/SparkBigQueryConfigTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ public void testGetAnyOptionWithFallbackOnlyNewConfigExist() {
726726

727727
SparkBigQueryConfig config =
728728
SparkBigQueryConfig.from(
729-
asDataSourceOptionsMap(withParameter("materializationProject", "foo")),
729+
asDataSourceOptionsMap(withParameter("project", "foo")),
730730
defaultGlobalOptions, // allConf
731731
new Configuration(),
732732
emptyMap, // customDefaults
@@ -735,6 +735,7 @@ public void testGetAnyOptionWithFallbackOnlyNewConfigExist() {
735735
sparkVersion,
736736
/* schema */ Optional.empty(),
737737
/* tableIsMandatory */ true);
738+
assertThat(config.getTableId().getProject()).isEqualTo("foo");
738739
}
739740

740741
@Test

0 commit comments

Comments
 (0)