Add mock MusicBrainz client for full test coverage (88.1%, zero exclusions)
Build & Deploy / build (push) Successful in 1m34s
Build & Deploy / build (push) Successful in 1m34s
This commit is contained in:
@@ -84,6 +84,18 @@
|
||||
<artifactId>quarkus-junit5</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<version>5.23.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-junit-jupiter</artifactId>
|
||||
<version>5.23.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.rest-assured</groupId>
|
||||
<artifactId>rest-assured</artifactId>
|
||||
@@ -110,16 +122,7 @@
|
||||
<goals><goal>report</goal></goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>com/discdrop/client/dto/*</exclude>
|
||||
<exclude>com/discdrop/client/MusicBrainzClient.class</exclude>
|
||||
<exclude>com/discdrop/client/UserAgentFilter.class</exclude>
|
||||
<exclude>com/discdrop/service/ArtistService.class</exclude>
|
||||
<exclude>com/discdrop/service/ReleaseGroupService.class</exclude>
|
||||
<exclude>com/discdrop/web/ArtistController.class</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.quarkus</groupId>
|
||||
|
||||
Reference in New Issue
Block a user