Skip to content

Commit

Permalink
Merge pull request #3 from MarwanAlsoltany/analysis-646MvM
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
MarwanAlsoltany authored Aug 9, 2020
2 parents 61a66b0 + f53c7a5 commit 3cdb69e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Worker/PublisherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,13 @@ public function testPublishingMessagesToRabbitMQServerViaWorkMethod()
$timestamp = time();
$date = date('F j, Y, H:m:s', $timestamp);
$messages[] = $this->serializer->serialize(
["MSG-{$timestamp}-{$i}" => "Test message number {$i}. This message was published on {$date}."], 'JSON'
["MSG-{$timestamp}-{$i}" => "Test message number {$i}. This message was published on {$date}."],
'JSON'
);
if ($i % 2000 == 0 && $i < 9000) {
$messages[] = $this->serializer->serialize(
Publisher::makeCommand('start', 'consumer'), 'JSON'
Publisher::makeCommand('start', 'consumer'),
'JSON'
);
}
}
Expand Down

0 comments on commit 3cdb69e

Please sign in to comment.