Skip to content

Commit

Permalink
refactor(devservices): removed authentication when using emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
zZHorizonZz committed Sep 15, 2023
1 parent e4971f1 commit bbc18fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ public String bigtable() throws IOException {
settings = BigtableDataSettings.newBuilderForEmulator(host, port)
.setProjectId(projectId)
.setInstanceId(INSTANCE_ID);
if (authenticated) {
settings.setCredentialsProvider(credentialsProvider);
}
}

if (authenticated) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package io.quarkiverse.googlecloudservices.it;

import io.quarkus.test.junit.QuarkusTest;
import static io.restassured.RestAssured.given;

import org.junit.jupiter.api.Test;

import static io.restassured.RestAssured.given;
import io.quarkus.test.junit.QuarkusTest;

@QuarkusTest
public class BigtableResourceTest {
Expand Down

0 comments on commit bbc18fc

Please sign in to comment.