From 817da643ebfc31d274523ff41b9393be475f4611 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Tue, 24 Apr 2018 22:05:10 +0200 Subject: [PATCH] [AppVeyor] Fix race condition in tests --- .../Translation/Tests/Command/XliffLintCommandTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/Translation/Tests/Command/XliffLintCommandTest.php b/src/Symfony/Component/Translation/Tests/Command/XliffLintCommandTest.php index fd60356d18..d55bfbc143 100644 --- a/src/Symfony/Component/Translation/Tests/Command/XliffLintCommandTest.php +++ b/src/Symfony/Component/Translation/Tests/Command/XliffLintCommandTest.php @@ -121,7 +121,7 @@ EOF; XLIFF; - $filename = sprintf('%s/xliff-lint-test/messages.en.xlf', sys_get_temp_dir()); + $filename = sprintf('%s/translation-xliff-lint-test/messages.en.xlf', sys_get_temp_dir()); file_put_contents($filename, $xliffContent); $this->files[] = $filename; @@ -150,8 +150,8 @@ XLIFF; protected function setUp() { - @mkdir(sys_get_temp_dir().'/xliff-lint-test'); $this->files = array(); + @mkdir(sys_get_temp_dir().'/translation-xliff-lint-test'); } protected function tearDown() @@ -161,6 +161,6 @@ XLIFF; unlink($file); } } - rmdir(sys_get_temp_dir().'/xliff-lint-test'); + rmdir(sys_get_temp_dir().'/translation-xliff-lint-test'); } }