Skip to content

Commit cca6ff8

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [TwigBridge] removed deprecations added in Twig 1.27 PHP CS Fixer: use php_unit_dedicate_assert fixed Filesystem:makePathRelative and added 2 more testcases no 304 response if method is not cacheable move tags from decorated to decorating service
2 parents bf0ff95 + f99349c commit cca6ff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Dumper/FileDumperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testDumpBackupsFileIfExisting()
4343
$dumper = new ConcreteFileDumper();
4444
$dumper->dump($catalogue, array('path' => $tempDir));
4545

46-
$this->assertTrue(file_exists($backupFile));
46+
$this->assertFileExists($backupFile);
4747

4848
@unlink($file);
4949
@unlink($backupFile);
@@ -62,7 +62,7 @@ public function testDumpCreatesNestedDirectoriesAndFile()
6262
$dumper->setRelativePathTemplate('test/translations/%domain%.%locale%.%extension%');
6363
$dumper->dump($catalogue, array('path' => $tempDir));
6464

65-
$this->assertTrue(file_exists($file));
65+
$this->assertFileExists($file);
6666

6767
@unlink($file);
6868
@rmdir($translationsDir);

0 commit comments

Comments
 (0)