Add getLocale method to mock translator in ByStepAggregatorTest and ByStepFilterTest

This commit is contained in:
2026-01-02 16:00:05 +01:00
parent b0cb08a07d
commit a5f3afd54e
2 changed files with 10 additions and 0 deletions

View File

@@ -31,6 +31,11 @@ class ByStepAggregatorTest extends AbstractAggregatorTest
{
return $id;
}
public function getLocale(): string
{
return 'en';
}
};
return new ByStepAggregator($translator);

View File

@@ -32,6 +32,11 @@ class ByStepFilterTest extends AbstractFilterTest
{
return $id;
}
public function getLocale(): string
{
return 'en';
}
};
return new ByStepFilter($translator);