Passed
Branch master (1f78dc)
by Patrick
03:06
created
MattermostClient/Shared/Plugin/MattermostActivityPluginTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
     {
28 28
         $_ENV['MATTERMOST_PATTERN'] = self::TICKET_PATTERN;
29 29
         $activityDtoCollection = $this->createMattermostActivityPlugin()->collect();
30
-        static::assertSame(self::TICKET_PATTERN.'-1234', $activityDtoCollection->offsetGet(0)->needle);
31
-        static::assertSame(MattermostActivityPlugin::POST_SUFFIX.': TESTNR-1234', $activityDtoCollection->offsetGet(0)->description);
30
+        static::assertSame(self::TICKET_PATTERN . '-1234', $activityDtoCollection->offsetGet(0)->needle);
31
+        static::assertSame(MattermostActivityPlugin::POST_SUFFIX . ': TESTNR-1234', $activityDtoCollection->offsetGet(0)->description);
32 32
         static::assertSame((new \DateTime())->format('Y-m-d'), $activityDtoCollection->offsetGet(0)->created->format('Y-m-d'));
33 33
         static::assertSame(MattermostActivityPlugin::ACTIVITY_DURATION, $activityDtoCollection->offsetGet(0)->duration);
34 34
     }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         ;
50 50
         $mattermostClientFacadeMock
51 51
             ->method('getPosts')
52
-            ->willReturn([['message' => 'testmessage '.self::TICKET_PATTERN.'-1234', 'create_at' => (new \DateTime())->format('U') * 1000]])
52
+            ->willReturn([['message' => 'testmessage ' . self::TICKET_PATTERN . '-1234', 'create_at' => (new \DateTime())->format('U') * 1000]])
53 53
         ;
54 54
 
55 55
         $mattermostActivityPluginMock = $this->getMockBuilder(MattermostActivityPlugin::class)
Please login to merge, or discard this patch.