Skip to content

Commit

Permalink
add test for findThumbnail
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonjetz committed Mar 23, 2024
1 parent 7da770f commit 12d2b19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/fragmentarium/application/FragmentService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ const testData: TestData<FragmentService>[] = [
new TestData('findPhoto', [fragment], imageRepository.findPhoto, resultStub, [
fragment.number,
]),
new TestData(
'findThumbnail',
[fragment, 'small'],
imageRepository.findThumbnail,
resultStub,
[fragment.number, 'small']
),
new TestData(
'folioPager',
[folio, 'K.1'],
Expand Down

0 comments on commit 12d2b19

Please sign in to comment.