Skip to content

Commit 0d85a99

Browse files
committed
minor #22224 Fix HttpCache test (chalasr)
This PR was merged into the 3.3-dev branch. Discussion ---------- Fix HttpCache test | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | #22043 (comment) | License | MIT | Doc PR | n/a will make appveyor green. Commits ------- 3178f50 Fix failing HttpCache test on windows
2 parents 2450449 + 3178f50 commit 0d85a99

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,10 @@ public function testHitsCachedResponseWithMaxAgeDirective()
564564

565565
public function testDegradationWhenCacheLocked()
566566
{
567+
if ('\\' === DIRECTORY_SEPARATOR) {
568+
$this->markTestSkipped('Skips on windows to avoid permissions issues.');
569+
}
570+
567571
$this->cacheConfig['stale_while_revalidate'] = 10;
568572

569573
// The prescence of Last-Modified makes this cacheable (because Response::isValidateable() then).

0 commit comments

Comments
 (0)