mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-17 06:41:24 +00:00
Add getLocale method to mock translator in ByStepAggregatorTest and ByStepFilterTest
This commit is contained in:
@@ -31,6 +31,11 @@ class ByStepAggregatorTest extends AbstractAggregatorTest
|
||||
{
|
||||
return $id;
|
||||
}
|
||||
|
||||
public function getLocale(): string
|
||||
{
|
||||
return 'en';
|
||||
}
|
||||
};
|
||||
|
||||
return new ByStepAggregator($translator);
|
||||
|
||||
@@ -32,6 +32,11 @@ class ByStepFilterTest extends AbstractFilterTest
|
||||
{
|
||||
return $id;
|
||||
}
|
||||
|
||||
public function getLocale(): string
|
||||
{
|
||||
return 'en';
|
||||
}
|
||||
};
|
||||
|
||||
return new ByStepFilter($translator);
|
||||
|
||||
Reference in New Issue
Block a user