Closed mhosks closed 9 years ago
Hey, I just ran into this issue as well. I was able to fix this by setting a valid APP_KEY in my .env.behat file.
Yeah, that did it. Thanks.
Thanks @ameech that worked for me too.
$: php artisan key:generate --show
The command above should generate the key, then you can copy and paste in your .env.behat file APP_KEY.
I'm unsure if this issue is caused by my own error, Behat itself, or this extension. However, I've seen some others posting about this as well so I thought I'd share.
Using this scenario:
Scenario: Home Page Given I am on the homepage Then I should see "Laravel 5"
The view I'm using is the default Laravel 5.1 welcome view and does not contain Yahoo! as demonstrated in the response below.
I call $this->printLastResponse() within assertPageContainsText($text)
printLastResponse() returns: