Skip to content

Commit

Permalink
Fixed type
Browse files Browse the repository at this point in the history
  • Loading branch information
hxyannay committed Sep 9, 2024
1 parent f006b85 commit b89f4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resource/default_user_secret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ var _ = Describe("DefaultUserSecret", func() {
Expect(secret.Data).To(HaveKey("host"), "Failed to find a key \"host\" in the generated Secret")
Expect(secret.Data).To(HaveKey("port"), "Failed to find a key \"port\" in the generated Secret")

expectedConnectionString := fmt.Sprintf("amqp://%s:%s@%s:%s/", secret.Data["username"], secret.Data["password"], secret.Data["host"], secret.Data["port"])
expectedConnectionString := []byte(fmt.Sprintf("amqp://%s:%s@%s:%s/", secret.Data["username"], secret.Data["password"], secret.Data["host"], secret.Data["port"]))
Expect(secret.Data).To(HaveKeyWithValue("connection_string", expectedConnectionString))
})

Expand Down

0 comments on commit b89f4aa

Please sign in to comment.