Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kamarton committed Dec 28, 2024
1 parent deca226 commit 81f6c50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Builders/ETagHeaderBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public static function dataProviderComputedEtag(): array
['contentABC', 'sha1', true, ['etag' => 'W/"' . sha1('contentABC') . '"']],
['contentABCDE', 'strval', false, ['etag' => '"contentABCDE"']],
['contentABCDEFG', 'strval', true, ['etag' => 'W/"contentABCDEFG"']],
[2, fn($d) => $d * 11, false, ['etag' => '"22"']],
[35, fn($d) => $d / 5, true, ['etag' => 'W/"7"']],
[2, fn($d) => strval($d * 11), false, ['etag' => '"22"']],
[35, fn($d) => strval($d / 5), true, ['etag' => 'W/"7"']],
];
}

Expand Down

0 comments on commit 81f6c50

Please sign in to comment.