mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 17:44:44 +08:00
Updated to coding standard v2.1
This commit is contained in:
@@ -30,7 +30,7 @@ class PixelActionTest extends TestCase
|
||||
$this->action = new PixelAction(
|
||||
$this->urlShortener->reveal(),
|
||||
$this->visitTracker->reveal(),
|
||||
new AppOptions()
|
||||
new AppOptions(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class PixelActionTest extends TestCase
|
||||
{
|
||||
$shortCode = 'abc123';
|
||||
$this->urlShortener->shortCodeToUrl($shortCode, '')->willReturn(
|
||||
new ShortUrl('http://domain.com/foo/bar')
|
||||
new ShortUrl('http://domain.com/foo/bar'),
|
||||
)->shouldBeCalledOnce();
|
||||
$this->visitTracker->track(Argument::cetera())->shouldBeCalledOnce();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user