Skip to content

Commit

Permalink
Remove unnecessary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Jun 7, 2023
1 parent 737302a commit 0c4e5dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/tickets/zendesk/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ func TestOpenAndForward(t *testing.T) {
test.AssertSnapshot(t, "forward_message", logger.Logs[0].Request)

logger = &flows.HTTPLogger{}
ticket1, err := svc.Open(session, defaultTopic, fieldTicket1, nil, logger.Log)
_, err = svc.Open(session, defaultTopic, fieldTicket1, nil, logger.Log)
assert.NoError(t, err)
assert.Equal(t, fieldTicket1, ticket1.Body())
assert.Equal(t, 1, len(logger.Logs))
test.AssertSnapshot(t, "open", logger.Logs[0].Request)
}
Expand Down

0 comments on commit 0c4e5dc

Please sign in to comment.