Fix mock naming and strings in integration tests

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 14:19:00 +01:00
committed by Jan Jakeš
parent e66c76133e
commit 2ec85eee7b
23 changed files with 50 additions and 50 deletions

View File

@ -130,8 +130,8 @@ class FeatureFlagsTest extends \MailPoetTest {
'defaults' => $defaults,
]);
$featureFlags = Stub::make(FeatureFlagsController::class, [
'features_controller' => $featuresController,
'feature_flags_repository' => $this->diContainer->get(FeatureFlagsRepository::class),
'featuresController' => $featuresController,
'featureFlagsRepository' => $this->diContainer->get(FeatureFlagsRepository::class),
]);
return new FeatureFlags($featuresController, $featureFlags);
}