Skip to content

Commit

Permalink
fix(artifacts): Fix test duplication in artifact store
Browse files Browse the repository at this point in the history
When I was refactoring the EmbeddedArtifactSerializerTest it looks like
I copy pasta'd the same test vector twice. This commit addresses that
and fixes it

Signed-off-by: benjamin-j-powell <benjamin_j_powell@apple.com>
  • Loading branch information
benjamin-j-powell committed Jul 13, 2023
1 parent 4febb41 commit 172f88d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ private static Stream<Arguments> generateTestCase() {
"stored",
"{\"type\":\"remote/base64\",\"customKind\":false,\"name\":null,\"version\":null,\"location\":null,\"reference\":\"link\",\"metadata\":{},\"artifactAccount\":null,\"provenance\":null,\"uuid\":null}",
Artifact.builder()
.type(ArtifactTypes.EMBEDDED_BASE64.getMimeType())
.reference(Base64.encodeBase64String("foo".getBytes()))
.type(ArtifactTypes.REMOTE_BASE64.getMimeType())
.reference("link")
.build(),
Artifact.builder()
.type(ArtifactTypes.REMOTE_BASE64.getMimeType())
Expand Down

0 comments on commit 172f88d

Please sign in to comment.