Skip to content

Commit

Permalink
test(spanner): remove unneeded check (#9767)
Browse files Browse the repository at this point in the history
  • Loading branch information
arunmoezhi authored Sep 2, 2022
1 parent 42efb04 commit 56416e2
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,6 @@ TEST_F(InstanceAdminClientTest, InstanceIam) {
ASSERT_FALSE(in.project_id().empty());
ASSERT_FALSE(in.instance_id().empty());

ASSERT_FALSE(internal::GetEnv("GOOGLE_CLOUD_CPP_SPANNER_TEST_SERVICE_ACCOUNT")
.value_or("")
.empty());

auto actual_policy = client_.GetIamPolicy(in);
if (Emulator() &&
actual_policy.status().code() == StatusCode::kUnimplemented) {
Expand Down

0 comments on commit 56416e2

Please sign in to comment.