Skip to content

Commit 13a30ef

Browse files
[FrameworkBundle] Fix tests
1 parent b41f68c commit 13a30ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/Command/TranslationUpdateCommandTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,6 @@ public function testFilterDuplicateTransPaths()
149149
$this->translationDir.'/a/different/test/folder',
150150
];
151151

152-
$expectedPaths = [
153-
$this->translationDir.'/a/different/test/folder',
154-
$this->translationDir.'/a/test/folder',
155-
];
156-
157152
foreach ($transPaths as $transPath) {
158153
if (realpath($transPath)) {
159154
continue;
@@ -177,6 +172,11 @@ public function testFilterDuplicateTransPaths()
177172

178173
$filteredTransPaths = $method->invoke($command, $transPaths);
179174

175+
$expectedPaths = [
176+
realpath($this->translationDir.'/a/different/test/folder'),
177+
realpath($this->translationDir.'/a/test/folder'),
178+
];
179+
180180
$this->assertEquals($expectedPaths, $filteredTransPaths);
181181
}
182182

0 commit comments

Comments
 (0)