Skip to content

Commit

Permalink
remove dup
Browse files Browse the repository at this point in the history
  • Loading branch information
razbensimon committed Jun 2, 2021
1 parent a1a0f56 commit 414a3cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env0/resource_sshkey_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestUnitSshKeyResource(t *testing.T) {
}

runUnitTest(t, testCase, func(mock *client.MockApiClientInterface) {
mock.EXPECT().SshKeyCreate(client.SshKeyCreatePayload{Name: sshKey.Name, Value: sshKey.Value}).Times(1).Return(sshKey, nil).Return(sshKey, nil)
mock.EXPECT().SshKeyCreate(client.SshKeyCreatePayload{Name: sshKey.Name, Value: sshKey.Value}).Times(1).Return(sshKey, nil)
mock.EXPECT().SshKeys().Times(1).Return([]client.SshKey{sshKey}, nil)
mock.EXPECT().SshKeyDelete(sshKey.Id).Times(1).Return(nil)
})
Expand Down

0 comments on commit 414a3cd

Please sign in to comment.