Skip to content

Commit bca7f12

Browse files
committed
test: Added missed actions
1 parent 6a18e82 commit bca7f12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/system/Commands/Translation/LocalizationFinderTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ private function realizeAssertion(): void
194194
{
195195
$this->assertFileExists(self::$languageTestPath . self::$locale . '/TranslationOne.php');
196196
$this->assertFileExists(self::$languageTestPath . self::$locale . '/TranslationThree.php');
197+
$this->assertFileExists(self::$languageTestPath . self::$locale . '/Translation-Four.php');
197198

198199
$translationOneKeys = require self::$languageTestPath . self::$locale . '/TranslationOne.php';
199200
$translationThreeKeys = require self::$languageTestPath . self::$locale . '/TranslationThree.php';
@@ -217,5 +218,9 @@ private function clearGeneratedFiles(): void
217218
if (is_file(self::$languageTestPath . self::$locale . '/Translation-Four.php')) {
218219
unlink(self::$languageTestPath . self::$locale . '/Translation-Four.php');
219220
}
221+
222+
if (is_dir(self::$languageTestPath . '/test_locale_incorrect')) {
223+
rmdir(self::$languageTestPath . '/test_locale_incorrect');
224+
}
220225
}
221226
}

0 commit comments

Comments
 (0)