Switch from an in-memory HSQLDB to MariaDB during integration tests #57

Merged
ansv7779 merged 9 commits from testcontainers into develop 2024-12-16 13:55:34 +01:00

9 Commits

Author SHA1 Message Date
17bf8a794c Merge branch 'develop' into testcontainers
All checks were successful
Build and test / build-and-test (push) Successful in 16m32s
2024-12-16 13:26:59 +01:00
2c819985c0 Fix FinalSeminarSchedulingTest
All checks were successful
Build and test / build-and-test (push) Successful in 17m46s
It previously did not populate all the required attributes that were checked using NOT NULL constraints in the migration scripts but were not present in the Hibernate generated DDL for HSQLDB.
2024-12-02 15:16:59 +01:00
5996421aa0 Fix UrkundSubmissionRepositoryTest
It previously did not populate all the required attributes that were checked using NOT NULL constraints in the migration scripts but were not present in the Hibernate generated DDL for HSQLDB.
2024-12-02 15:16:59 +01:00
c0dee21602 Fix TestPeerReview
It previously did not populate all the required attributes that were checked using NOT NULL constraints in the migration scripts but were not present in the Hibernate generated DDL for HSQLDB.
2024-12-02 15:16:59 +01:00
04aa867900 Fix CommentThreadServiceImplTest
It previously did not populate all the required attributes that were checked using NOT NULL constraints in the migration scripts but were not present in the Hibernate generated DDL for HSQLDB.
2024-12-02 15:16:59 +01:00
3e8accd37a Fix PeerRequestServiceImplTest
It previously did not populate all the required attributes that were checked using NOT NULL constraints in the migration scripts but were not present in the Hibernate generated DDL for HSQLDB.
2024-12-02 15:16:59 +01:00
a2405ee445 Fix PeerReviewServiceImplIntegrationTest
It previously did not populate all the required attributes that were checked using NOT NULL constraints in the migration scripts but were not present in the Hibernate generated DDL for HSQLDB.
2024-12-02 15:16:29 +01:00
01ad6ae20c Fix PeerReviewServiceImplTest
It previously did not populate all the required attributes that were checked using NOT NULL constraints in the migration scripts but were not present in the Hibernate generated DDL for HSQLDB.
2024-12-02 15:15:57 +01:00
b245051ccc Use MariaDB in tests instead of HSQLDB
Utilizes Testcontainers to start a MariaDB Docker container to use in tests. The empty database is then migrated using Flyway which means migrations are implicitly tested as well.
2024-12-02 15:15:29 +01:00