Skip to content

Commit

Permalink
Remove FAQs for older version.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jan 27, 2017
1 parent 36c68c3 commit 9aaa1fe
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,3 @@ This error would only occur if your test suite require actual usage of the encry

</phpunit>
```
### Session not set on request

The error might pop-up when testing routes with `Request::old()` or `old()` helper inside the requested view. This is due to Testbench not loading the default global middleware made available with Laravel.

To avoid breaking Backward Compatibility (BC) under 3.1 please add the following code under your `setUp` or `getEnvironmentSetUp` method.

```php
$app->make('Illuminate\Contracts\Http\Kernel')->pushMiddleware('Illuminate\Session\Middleware\StartSession');
```

0 comments on commit 9aaa1fe

Please sign in to comment.