File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
integration-tests/smallrye-config
src/test/java/io/quarkus/it/smallrye/config Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ DOTENV_SERVER_PORT=8080
3
3
4
4
QUARKUS_DATASOURCE_DB_KIND = h2
5
5
QUARKUS_DATASOURCE_JDBC_URL = jdbc:h2:mem:test;MODE=PostgreSQL;DB_CLOSE_DELAY=-1
6
- QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION = drop-and-create
6
+ QUARKUS_HIBERNATE_ORM_SCHEMA_MANAGEMENT_STRATEGY = drop-and-create
Original file line number Diff line number Diff line change 74
74
<artifactId >rest-assured</artifactId >
75
75
<scope >test</scope >
76
76
</dependency >
77
+ <dependency >
78
+ <groupId >org.assertj</groupId >
79
+ <artifactId >assertj-core</artifactId >
80
+ <scope >test</scope >
81
+ </dependency >
77
82
78
83
<!-- Minimal test dependencies to *-deployment artifacts for consistent build order -->
79
84
<dependency >
Original file line number Diff line number Diff line change 2
2
3
3
import static io .restassured .RestAssured .given ;
4
4
import static jakarta .ws .rs .core .Response .Status .OK ;
5
- import static org .junit . jupiter .api .Assertions .assertTrue ;
5
+ import static org .assertj . core .api .Assertions .assertThat ;
6
6
7
7
import java .util .logging .Level ;
8
8
import java .util .logging .LogManager ;
@@ -29,7 +29,8 @@ record -> record.getLevel().intValue() >= Level.WARNING.intValue());
29
29
@ Override
30
30
public void beforeAll (final ExtensionContext context ) throws Exception {
31
31
super .beforeAll (context );
32
- assertTrue (inMemoryLogHandler .getRecords ().isEmpty ());
32
+ assertThat (inMemoryLogHandler .getRecords ().stream ().map (r -> String .format (r .getMessage (), r .getParameters ())))
33
+ .isEmpty ();
33
34
}
34
35
};
35
36
You can’t perform that action at this time.
0 commit comments