From 9522ef3ee7950a9e81e7b8ee5141be17e07c0c5b Mon Sep 17 00:00:00 2001 From: vohof Date: Mon, 29 Jul 2013 11:06:34 +0800 Subject: [PATCH] add a note about route filters when testing --- testing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing.md b/testing.md index 0a5d1ee105..2469445bc0 100644 --- a/testing.md +++ b/testing.md @@ -73,6 +73,8 @@ To call a HTTPS route, you may use the `callSecure` method: $response = $this->callSecure('GET', 'foo/bar'); +> **Note:** Route filters are disabled when in the testing environment. To enable them, add `Route::enableFilters()` to your test. + ### DOM Crawler You may also call a route and receive a DOM Crawler instance that you may use to inspect the content: