Skip to content

Commit

Permalink
chore: fix bigquery plugin test (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chief-Rishab committed Sep 24, 2023
1 parent f9d5dfb commit be1edd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/extractors/bigquery/auditlog/auditlog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestInit(t *testing.T) {
}),
)

assert.EqualError(t, err, "failed to create logadmin client: client is nil, failed initiating client")
assert.EqualError(t, err, "create logadmin client: invalid character '-' in numeric literal")
})

t.Run("should not return error invalid config if config is not wrong", func(t *testing.T) {
Expand Down Expand Up @@ -129,7 +129,7 @@ func TestParsePayload(t *testing.T) {

ld, err := parsePayload(auditLog)

assert.EqualError(t, err, "failed to get audit data from metadata: metadata field is nil")
assert.EqualError(t, err, "get audit data from metadata: metadata field is nil")
assert.Nil(t, ld)
})
}

0 comments on commit be1edd7

Please sign in to comment.