Skip to content

Commit

Permalink
Use versions of dummy artifacts in IT assertions
Browse files Browse the repository at this point in the history
We can not use version of production artifact
it can change between build
  • Loading branch information
slawekjaranowski committed Jul 24, 2023
1 parent 0b860eb commit c62c8de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<plugin>
<groupId>localhost</groupId>
<artifactId>dummy-maven-plugin</artifactId>
<version>1.0</version>
<version>2.0</version>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
report = new File( basedir, "target/plugin-updates-report.xml" ).text.replaceAll( '\\s*', '' )

assert report.contains( '<major>3.0.0</major>' )
assert report.contains( '<minor>2.3</minor>' )
assert report.contains( '<incremental>2.2.2</incremental>' )

assert report.contains( '<minor>2.1</minor>' )
assert report.contains( '<major>3.1</major>' )

0 comments on commit c62c8de

Please sign in to comment.