From f9c3b2124f05ce79a055c1854a23bb17c7b19e9e Mon Sep 17 00:00:00 2001 From: Taysir Tayyab Date: Thu, 13 Oct 2016 13:35:00 -0500 Subject: [PATCH] fixing minor bug with parameter order --- src/Behat/PartialRunner/Controller/PartialRunnerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Behat/PartialRunner/Controller/PartialRunnerController.php b/src/Behat/PartialRunner/Controller/PartialRunnerController.php index 290c73b..fb58973 100644 --- a/src/Behat/PartialRunner/Controller/PartialRunnerController.php +++ b/src/Behat/PartialRunner/Controller/PartialRunnerController.php @@ -63,6 +63,6 @@ public function execute(InputInterface $input, OutputInterface $output) throw new InvalidArgumentException("--worker-number ($worker) must be less than --count-workers ($total). "); } - $this->gherkin->addFilter(new PartialRunnerFilter($worker, $total)); + $this->gherkin->addFilter(new PartialRunnerFilter($total, $worker)); } } \ No newline at end of file