From 5e02cfe3753ce2e74da317f6a7acd23b9af3e5ad Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 23 Oct 2022 18:29:32 +0200 Subject: [PATCH] Fixed coding styles --- .../Mercure/NotifyNewShortUrlToMercureTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/Core/test/EventDispatcher/Mercure/NotifyNewShortUrlToMercureTest.php b/module/Core/test/EventDispatcher/Mercure/NotifyNewShortUrlToMercureTest.php index 7e87fc44..40ba0a2a 100644 --- a/module/Core/test/EventDispatcher/Mercure/NotifyNewShortUrlToMercureTest.php +++ b/module/Core/test/EventDispatcher/Mercure/NotifyNewShortUrlToMercureTest.php @@ -82,7 +82,9 @@ class NotifyNewShortUrlToMercureTest extends TestCase ShortUrl::class, '123', )->willReturn($shortUrl); - $this->updatesGenerator->expects($this->once())->method('newShortUrlUpdate')->with($shortUrl)->willReturn($update); + $this->updatesGenerator->expects($this->once())->method('newShortUrlUpdate')->with($shortUrl)->willReturn( + $update, + ); $this->helper->expects($this->once())->method('publishUpdate')->with($update)->willThrowException($e); $this->logger->expects($this->never())->method('warning'); $this->logger->expects($this->once())->method('debug')->with(