Skip to content

Commit

Permalink
test(bigquery): add testing for email propagation in job retrieval (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shollyman committed Aug 3, 2022
1 parent da42b4e commit d282840
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bigquery/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ func TestIntegration_JobFrom(t *testing.T) {
if got.jobID != want.jobID {
t.Errorf("case %q jobID mismatch, got %s want %s", tc.description, got.jobID, want.jobID)
}
if got.Email() == "" {
t.Errorf("case %q expected email to be populated, was empty", tc.description)
}
}

}
Expand Down

0 comments on commit d282840

Please sign in to comment.