Skip to content

Commit f99349c

Browse files
committed
PHP CS Fixer: use php_unit_dedicate_assert
1 parent 5b78058 commit f99349c

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
@@ -30,7 +30,7 @@ public function testDumpBackupsFileIfExisting()
3030
$dumper = new ConcreteFileDumper();
3131
$dumper->dump($catalogue, array('path' => $tempDir));
3232

33-
$this->assertTrue(file_exists($backupFile));
33+
$this->assertFileExists($backupFile);
3434

3535
@unlink($file);
3636
@unlink($backupFile);
@@ -49,7 +49,7 @@ public function testDumpCreatesNestedDirectoriesAndFile()
4949
$dumper->setRelativePathTemplate('test/translations/%domain%.%locale%.%extension%');
5050
$dumper->dump($catalogue, array('path' => $tempDir));
5151

52-
$this->assertTrue(file_exists($file));
52+
$this->assertFileExists($file);
5353

5454
@unlink($file);
5555
@rmdir($translationsDir);

0 commit comments

Comments
 (0)