Skip to content

Commit 27a5c24

Browse files
committed
Adressed PR comments
1 parent a0684ca commit 27a5c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/io/cdap/plugin/gcp/bigquery/util/BigQueryUtilTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public void testGetBucketPrefixInvalidBucketName() {
169169
SettableArguments args = Mockito.mock(SettableArguments.class);
170170
Mockito.when(args.has(BUCKET_PREFIX_ARG))
171171
.thenReturn(true);
172-
Mockito.when(args.get("io.cdap.plugin.bigquery.bucket.prefix"))
172+
Mockito.when(args.get(BUCKET_PREFIX_ARG))
173173
.thenReturn("This is an invalid bucket name!@");
174174

175175
IllegalArgumentException e = null;
@@ -191,7 +191,7 @@ public void testGetBucketPrefixTooLong() {
191191
SettableArguments args = Mockito.mock(SettableArguments.class);
192192
Mockito.when(args.has(BUCKET_PREFIX_ARG))
193193
.thenReturn(true);
194-
Mockito.when(args.get("io.cdap.plugin.bigquery.bucket.prefix"))
194+
Mockito.when(args.get(BUCKET_PREFIX_ARG))
195195
.thenReturn("this-prefix-is-too-long-to-be-used-as-a-prefix-oops");
196196

197197
IllegalArgumentException e = null;

0 commit comments

Comments
 (0)