Skip to content

Commit 566c8ec

Browse files
committed
Refactoring
1 parent c9bb365 commit 566c8ec

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/Functional/Command/Base/BaseFunctionalCommandTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,6 @@ protected function setUp(): void
240240
$this->createService(Repository::class);
241241
}
242242

243-
if ($this->loadFixtures) {
244-
$this->createService(CommandHelper::class);
245-
$this->loadFixtures();
246-
}
247-
248-
if ($this->useCommand) {
249-
$this->createCommand($this->commandName, $this->commandClass, $this->commandClassParameterClosure);
250-
}
251-
252243
if ($this->useTwig) {
253244
$this->createService(Environment::class);
254245
}
@@ -264,6 +255,15 @@ protected function setUp(): void
264255
if ($this->useTranslator) {
265256
$this->createService(TranslatorInterface::class);
266257
}
258+
259+
if ($this->loadFixtures) {
260+
$this->createService(CommandHelper::class);
261+
$this->loadFixtures();
262+
}
263+
264+
if ($this->useCommand) {
265+
$this->createCommand($this->commandName, $this->commandClass, $this->commandClassParameterClosure);
266+
}
267267
}
268268

269269
/**

0 commit comments

Comments
 (0)