Skip to content

Commit be1edd7

Browse files
authored
chore: fix bigquery plugin test (#484)
1 parent f9d5dfb commit be1edd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/extractors/bigquery/auditlog/auditlog_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestInit(t *testing.T) {
3030
}),
3131
)
3232

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

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

130130
ld, err := parsePayload(auditLog)
131131

132-
assert.EqualError(t, err, "failed to get audit data from metadata: metadata field is nil")
132+
assert.EqualError(t, err, "get audit data from metadata: metadata field is nil")
133133
assert.Nil(t, ld)
134134
})
135135
}

0 commit comments

Comments
 (0)