Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Donal Byrne committed Nov 21, 2017
1 parent d1c63e1 commit 77bc893
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
require_once($scriptDir . '/../../../vendor/autoload.php');


global $argv;
$clientId = $argv[1];
$subject = $argv[2];
$numMessages = $argv[3];
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/Integration/MultipleConsumerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ private function runScript($script, $args) {

private function runConsumer($clientId, $subject, $expectMessages,$durableName) {
$scriptDir = realpath(dirname(__FILE__));
return $this->runScript($scriptDir . '/Commands/Consumer.php', [$clientId, $subject, $expectMessages, $durableName]);
return $this->runScript($scriptDir . '/Commands/Consumer', [$clientId, $subject, $expectMessages, $durableName]);
}

private function runProducer($clientId, $subject, $pubMessages) {
$scriptDir = realpath(dirname(__FILE__));
return $this->runScript($scriptDir . '/Commands/Producer.php', [$clientId, $subject, $pubMessages]);
return $this->runScript($scriptDir . '/Commands/Producer', [$clientId, $subject, $pubMessages]);
}

public function testMultipleConsumers(){
Expand Down

0 comments on commit 77bc893

Please sign in to comment.