Skip to content

Commit

Permalink
Remove unneccessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shydefoo committed May 28, 2024
1 parent 291b291 commit 5af7d9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion api/pkg/webhooks/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,5 +360,4 @@ func TestInvokeMultipleSyncWebhooks(t *testing.T) {
// Assertion
assert.NoError(t, err)
mockClient.AssertExpectations(t) // Verify that expectations on the mock client were met
// t.Errorf("test")
}
4 changes: 2 additions & 2 deletions api/service/projects_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,9 +406,9 @@ func TestProjectsService_CreateWithWebhook(t *testing.T) {
storage.On("Save", test.expResult).Return(test.expResult, nil).Maybe()
mockClient1.On("Invoke", mock.Anything, mock.Anything).Return(test.whResponse, nil)
whManager := &webhooks.SimpleWebhookManager{
WebhookClients: map[webhooks.EventType][]webhooks.WebhookClient{
WebhookClients: map[webhooks.EventType]map[webhooks.WebhookType][]webhooks.WebhookClient{
ProjectCreatedEvent: {
mockClient1,
webhooks.Sync: {mockClient1},
},
},
}
Expand Down

0 comments on commit 5af7d9b

Please sign in to comment.