Skip to content

Commit

Permalink
Fix test assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Sep 22, 2022
1 parent d064ceb commit 0698d7c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

JENKINS_HOME=../docker/volumes/jenkins-home

mvn clean install || { echo "Build failed"; exit 1; }
mvn clean install -Pskip || { echo "Build failed"; exit 1; }

echo "Installing plugin in $JENKINS_HOME"

Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ void shouldCreateIcon() {
.isEqualTo("<svg class=\"fa-svg-icon\"><use href=\"path-regular\"></use></svg>");

assertThat(tag.withClasses("icon-md").render())
.isEqualTo("<svg class=\"icon-md fa-svg-icon\"><use href=\"path-regular\"></use></svg>");
.isEqualTo("<svg class=\"icon-md svg-icon\"><use href=\"path-regular\"></use></svg>");
}
}

0 comments on commit 0698d7c

Please sign in to comment.