Skip to content

Commit

Permalink
Fix UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jun 25, 2024
1 parent ceba2dd commit 90ec07b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void testBasicDeployWithPackagingAsPom(DeployMojo mojo) throws Exception
Collections.singletonList("org.apache.maven.test:maven-deploy-test:pom:1.0-SNAPSHOT"),
artifacts.stream().map(Artifact::key).collect(Collectors.toList()));
assertEquals(
getBasedir().replace(File.separator, "/"),
Paths.get(getBasedir()).toUri().toString(),
request.getRepository().getUrl());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void testBasicDeploy(DeployMojo mojo) throws Exception {
"org.apache.maven.test:maven-deploy-test:jar:1.0-SNAPSHOT"),
artifacts.stream().map(Artifact::key).collect(Collectors.toList()));
assertEquals(
getBasedir().replace(File.separator, "/"),
Paths.get(getBasedir()).toUri().toString(),
request.getRepository().getUrl());
}

Expand Down Expand Up @@ -175,7 +175,7 @@ public void testDeployWithAttachedArtifacts(DeployMojo mojo) throws Exception {
"org.apache.maven.test:attached-artifact-test:jar:1.0-SNAPSHOT"),
artifacts.stream().map(Artifact::key).collect(Collectors.toList()));
assertEquals(
getBasedir().replace(File.separator, "/"),
Paths.get(getBasedir()).toUri().toString(),
request.getRepository().getUrl());
}

Expand Down

0 comments on commit 90ec07b

Please sign in to comment.