mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 03:46:11 +01:00

[CLEANUP] Use assertStringEqualsFile

This commit is contained in:
Oliver Klee 2017-09-08 18:06:02 +02:00
parent 563f4befbf
commit cb62d0c28b

View file

@ -126,9 +126,8 @@ class FileUtilityTest extends \Nimut\TestingFramework\TestCase\FunctionalTestCas
[$sourceFileName1, $sourceFileName2]
);
self::assertSame(
$contents1 . $contents2,
file_get_contents($this->targetFilePath)
self::assertStringEqualsFile(
$this->targetFilePath, $contents1 . $contents2
);
}
}