title: Behat 3 and Laravel, testing environment not being honoured
body: <p>I am having a confusing problem using Behat 3 and Laravel to test an API.</p>
  
  <p>It seems that its not using the 'testing' environment database (in my case an sqlite memory database) ... but only some of the time. </p>
  
  <p>I've put a log message in the testing/database.php file to see when its loaded.. and I do see the log message when running Behat. </p>
  
  <p>But running the Behat features is adding rows to my development database - and some of my tests are failing for the same reason. </p>
  
  <p>My phpunit tests run fine and do not alter the dev database. </p>
  
  <p>Is there something that should be in behat.yml that I've missed? </p>
  
  <p>EDIT: I see the problem - I am using Guzzle to test the API, and whereas Behat's setup functions are working on the testing env, once Guzzle is in play the app has no idea its in testing env. So I either have to find a way to tell the app its in testing env or tell behat to use the development env. </p>