From 6db68cc1db13557bae6a7b54b20ce5bece08e847 Mon Sep 17 00:00:00 2001 From: Mateusz Zalewski Date: Sat, 5 Nov 2016 23:50:01 +0100 Subject: [PATCH] Ensure behat output messages language --- src/Context/TestContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Context/TestContext.php b/src/Context/TestContext.php index 4dd93be..0992a90 100644 --- a/src/Context/TestContext.php +++ b/src/Context/TestContext.php @@ -190,7 +190,7 @@ public function itFails() { throw new \Behat\Behat\Tester\Exception\PendingExcep */ public function iRunBehat() { - $this->process = new Process(sprintf('%s %s --strict -vvv --no-interaction', self::$phpBin, escapeshellarg(BEHAT_BIN_PATH))); + $this->process = new Process(sprintf('%s %s --strict -vvv --no-interaction --lang=en', self::$phpBin, escapeshellarg(BEHAT_BIN_PATH))); $this->process->setWorkingDirectory(self::$workingDir); $this->process->start(); $this->process->wait();