Commit Graph
2 Commits
Author SHA1 Message Date
Nicholas Kirschbaum 8bdf36d6aa fix(api): merge processFile() transactions with calling transactions (#287)
- swaps propagation mode to REQUIRED to merge transactions so that multiple transactions do not modify the same book at the same time and conflict
2026-04-22 17:26:57 -04:00
Nicholas Kirschbaum 2474cdd4ae Chore(api): Migrate BookCreatorServiceTests to AssertJ and remove unnessesary tests (#229)
* chore(apiTests): migrate BookCreatorServiceTest assertions to AssertJ

- Replaced JUnit assertions with AssertJ for richer failure messages
- Tightened collection assertions to verify element values rather than just size
- Removed redundant addAuthorsToBook_nullExistingAuthorsOnEntity_initializesSet test
- Added coverage-gap comment noting untested methods and missing cases

* chore(apiTests): reduce test complexity in BookCreatorServiceTests

- Changed to using parameterized tests where tests were the same apart from inputs
- Modified tests to be more specific about what exactly that test is checking
2026-04-22 17:26:54 -04:00