Skip to content

Commit

Permalink
test: added more code coverage for usecase package
Browse files Browse the repository at this point in the history
  • Loading branch information
emeeker2002 committed Sep 12, 2024
1 parent 4ae23b8 commit 09b9d62
Show file tree
Hide file tree
Showing 8 changed files with 995 additions and 54 deletions.
67 changes: 67 additions & 0 deletions internal/controller/http/v1/devicemanagement_mocks_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 67 additions & 0 deletions internal/controller/http/v2/devicemanagement_mocks_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/usecase/devices/certificates_private_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ func TestKeysToDTO(t *testing.T) {
t.Parallel()

keys := KeysToDTO(&getResponse.PublicPrivateKeyPairResponse)
require.Equal(t, parsedKeys, *keys)
require.Equal(t, parsedKeys, keys)
}

func TestProcessCertificates(t *testing.T) {
Expand Down
Loading

0 comments on commit 09b9d62

Please sign in to comment.