mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Created chainIpLocationResolver
This commit is contained in:
@@ -28,8 +28,8 @@ class TranslatorExtensionTest extends TestCase
|
||||
{
|
||||
$engine = $this->prophesize(Engine::class);
|
||||
|
||||
$engine->registerFunction('translate', Argument::type('callable'))->shouldBeCalledTimes(1);
|
||||
$engine->registerFunction('translate_plural', Argument::type('callable'))->shouldBeCalledTimes(1);
|
||||
$engine->registerFunction('translate', Argument::type('callable'))->shouldBeCalledOnce();
|
||||
$engine->registerFunction('translate_plural', Argument::type('callable'))->shouldBeCalledOnce();
|
||||
|
||||
$funcs = $this->extension->register($engine->reveal());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user