Skip to content

Commit

Permalink
fix: use sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger committed Aug 11, 2023
1 parent f9f09c7 commit beb1e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (suite *ServerTestSuite) SetupTest() {
tables := []string{"v3_issuer_keys", "v3_issuers", "redemptions"}

for _, table := range tables {
_, err := suite.srv.db.Exec("delete from ?", table)
_, err := suite.srv.db.Exec(fmt.Sprintf("delete from %s", table))
suite.Require().NoError(err, "Failed to get clean table")
}
}
Expand Down

0 comments on commit beb1e26

Please sign in to comment.