File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tests/system/Commands/Translation Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ private function realizeAssertion(): void
194
194
{
195
195
$ this ->assertFileExists (self ::$ languageTestPath . self ::$ locale . '/TranslationOne.php ' );
196
196
$ this ->assertFileExists (self ::$ languageTestPath . self ::$ locale . '/TranslationThree.php ' );
197
+ $ this ->assertFileExists (self ::$ languageTestPath . self ::$ locale . '/Translation-Four.php ' );
197
198
198
199
$ translationOneKeys = require self ::$ languageTestPath . self ::$ locale . '/TranslationOne.php ' ;
199
200
$ translationThreeKeys = require self ::$ languageTestPath . self ::$ locale . '/TranslationThree.php ' ;
@@ -217,5 +218,9 @@ private function clearGeneratedFiles(): void
217
218
if (is_file (self ::$ languageTestPath . self ::$ locale . '/Translation-Four.php ' )) {
218
219
unlink (self ::$ languageTestPath . self ::$ locale . '/Translation-Four.php ' );
219
220
}
221
+
222
+ if (is_dir (self ::$ languageTestPath . '/test_locale_incorrect ' )) {
223
+ rmdir (self ::$ languageTestPath . '/test_locale_incorrect ' );
224
+ }
220
225
}
221
226
}
You can’t perform that action at this time.
0 commit comments