Skip to content

Commit ff12850

Browse files
committed
Merge branch '2.8' into 3.1
* 2.8: [TwigBridge] removed deprecations added in Twig 1.27 PHP CS Fixer: use php_unit_dedicate_assert 3.0 Upgrade Guide: Added details describing how to pass data to a form through the options resolver 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 93013a1 + cca6ff8 commit ff12850

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
@@ -46,7 +46,7 @@ public function testDumpBackupsFileIfExisting()
4646
$dumper = new ConcreteFileDumper();
4747
$dumper->dump($catalogue, array('path' => $tempDir));
4848

49-
$this->assertTrue(file_exists($backupFile));
49+
$this->assertFileExists($backupFile);
5050

5151
@unlink($file);
5252
@unlink($backupFile);
@@ -65,7 +65,7 @@ public function testDumpCreatesNestedDirectoriesAndFile()
6565
$dumper->setRelativePathTemplate('test/translations/%domain%.%locale%.%extension%');
6666
$dumper->dump($catalogue, array('path' => $tempDir));
6767

68-
$this->assertTrue(file_exists($file));
68+
$this->assertFileExists($file);
6969

7070
@unlink($file);
7171
@rmdir($translationsDir);

0 commit comments

Comments
 (0)