chore: more sonarqube improvements, rename tracing service method
All checks were successful
Build / build (push) Successful in 2m23s
All checks were successful
Build / build (push) Successful in 2m23s
This commit is contained in:
parent
f591d514ec
commit
bc0110cc29
7 changed files with 151 additions and 174 deletions
|
@ -1,7 +1,6 @@
|
|||
package ch.phoenix.oss.quarkus.commons.audit;
|
||||
|
||||
import static org.assertj.core.api.AssertionsForInterfaceTypes.assertThat;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import static org.mockito.Mockito.mockStatic;
|
||||
|
||||
import io.quarkus.test.junit.QuarkusTest;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package ch.phoenix.oss.quarkus.commons.audit;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
import io.quarkus.test.junit.QuarkusTest;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
@ -47,8 +46,6 @@ class RevisionTest {
|
|||
var rev = new Revision();
|
||||
rev.rev = 1;
|
||||
|
||||
assertThat(rev.toString())
|
||||
.as("Revision's toString should match expected value")
|
||||
.isEqualTo("Revision{rev=1}");
|
||||
assertThat(rev).as("Revision's toString should match expected value").hasToString("Revision{rev=1}");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue