Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d03c902f58
|
||
|
|
673e665aba |
No files matched your search
@@ -160,6 +160,16 @@
|
|||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<!-- the artifact version, for the help bundle version test -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<systemPropertyVariables combine.children="append">
|
||||||
|
<qbit.artifactVersion>${project.version}</qbit.artifactVersion>
|
||||||
|
</systemPropertyVariables>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ class WebhooksHelpBundleTest
|
|||||||
assertThat(HelpBundles.of(instance).getBundles()).singleElement().satisfies(bundle ->
|
assertThat(HelpBundles.of(instance).getBundles()).singleElement().satisfies(bundle ->
|
||||||
{
|
{
|
||||||
assertThat(bundle.getId()).isEqualTo("qbit-webhooks");
|
assertThat(bundle.getId()).isEqualTo("qbit-webhooks");
|
||||||
assertThat(bundle.getVersion()).isEqualTo("1.0.0-SNAPSHOT");
|
assertThat(bundle.getVersion()).as("the help bundle carries the artifact version").isEqualTo(System.getProperty("qbit.artifactVersion"));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user