Skip to content

Commit

Permalink
more coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
withinboredom committed Dec 30, 2023
1 parent a2485b1 commit b8081fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ function render(Tokenizer $tokenizer, AbstractCache ...$directives): string

$directives[] = new NeverCache();
expect(render($tokenizer, ...$directives))->toBe("private no-store");

$directives[] = new Revalidate(RevalidationEnum::EveryRequest);
expect(render($tokenizer, ...$directives))->toBe("private no-store");
});

it('can handle public/private', function () {
Expand Down

0 comments on commit b8081fb

Please sign in to comment.