Skip to content

Commit

Permalink
Fix tests (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei authored Oct 21, 2021
1 parent 3c4d7f6 commit f662548
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestPlugin_ServeHTTP(t *testing.T) {
BitbucketOrg: "mockOrg",
BitbucketOAuthClientID: "mockID",
BitbucketOAuthClientSecret: "mockSecret",
WebhookSecret: "",
WebhookSecret: "mockSecret",
EnablePrivateRepo: false,
EncryptionKey: "mockKey",
})
Expand Down Expand Up @@ -113,6 +113,8 @@ func TestGetToken(t *testing.T) {
BitbucketOrg: "mockOrg",
BitbucketOAuthClientID: "mockID",
BitbucketOAuthClientSecret: "mockSecret",
WebhookSecret: "mockSecret",
EnablePrivateRepo: false,
EncryptionKey: "mockKey",
})
p.initializeAPI()
Expand Down

0 comments on commit f662548

Please sign in to comment.