Skip to content

Commit 7acc8eb

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [HttpKernel] Fixed bug with purging of HTTPS URLs fix some risky tests [DI] [YamlFileLoader] change error message of a non existing file [Security] Added option to return true in the method isRememberMeRequested
2 parents 64b1bf3 + e119b6d commit 7acc8eb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Tests/AbstractLayoutTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ protected function assertMatchesXpath($html, $expression, $count = 1)
8383
// strip away <root> and </root>
8484
substr($dom->saveHTML(), 6, -8)
8585
));
86+
} else {
87+
$this->addToAssertionCount(1);
8688
}
8789
}
8890

Tests/Resources/TranslationFilesTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ public function testTranslationFileIsValid($filePath)
2525
} else {
2626
\PHPUnit\Util\XML::loadfile($filePath, false, false, true);
2727
}
28+
29+
$this->addToAssertionCount(1);
2830
}
2931

3032
public function provideTranslationFiles()

0 commit comments

Comments
 (0)