Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0d85a99

Browse filesBrowse 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
Copy full SHA for 0d85a99

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php
+4Lines changed: 4 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.