diff --git a/src/github.com/matrix-org/go-neb/services/imgur/imgur_test.go b/src/github.com/matrix-org/go-neb/services/imgur/imgur_test.go index 14a1f4a..9103199 100644 --- a/src/github.com/matrix-org/go-neb/services/imgur/imgur_test.go +++ b/src/github.com/matrix-org/go-neb/services/imgur/imgur_test.go @@ -80,9 +80,9 @@ func TestCommand(t *testing.T) { // Create the imgur service srv, err := types.CreateService("id", ServiceType, "@imgurbot:hyrule", []byte( - `{ - "client_id":"`+clientID+`" - }`, + fmt.Sprintf(`{ + "client_id":"%s" + }`, clientID), )) if err != nil { t.Fatal("Failed to create imgur service: ", err)