From b8081fb8a498afa80fd4f37ca4221ebf77c7a7ad Mon Sep 17 00:00:00 2001 From: Robert Landers Date: Sat, 30 Dec 2023 21:00:30 +0100 Subject: [PATCH] more coverage --- tests/CacheTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/CacheTest.php b/tests/CacheTest.php index 604d886..e55665e 100644 --- a/tests/CacheTest.php +++ b/tests/CacheTest.php @@ -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 () {