Closed daniel-chiuratto-seabra closed 2 months ago
The recent updates in the owlplug-client
project focus on enhancing database interaction and testing protocols. Changes were made to the database access object and model for Google credentials, specifically ensuring uniqueness in credential keys. Additionally, the testing setup was modified to improve test isolation by initializing fresh states before each test case.
File Path | Change Summary |
---|---|
.../auth/dao/GoogleCredentialDAO.java |
Added native query to select credential_key from database. |
.../auth/model/GoogleCredential.java |
Enforced uniqueness for credential_key column. |
.../test/java/com/owlplug/dao/GoogleCredentialDAOTest.java |
Replaced @BeforeAll with @BeforeEach for better test isolation. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
…resolve keyword conflict, updated native query accordingly with the new column name and changed the unit test from @BeforeAll to @BeforeEach due to issues with non-static method and EntityManager access