From 0bb5cd7caf12387ee93d2f86182b933e1e0c23dc Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 19 Oct 2016 08:46:13 -0700 Subject: [PATCH] wording --- mocking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mocking.md b/mocking.md index f84098d71a..ef327109b8 100644 --- a/mocking.md +++ b/mocking.md @@ -315,4 +315,4 @@ We can mock the call to the `Cache` facade by using the `shouldReceive` method, } } -> {note} You should not mock the `Request` facade. Instead, pass the input you desire into the HTTP helper methods such as `call` and `post` when running your test. Also notice that you cannot mock the `Config` facade. Instead use `Config::set($key,$value)` in your test. +> {note} You should not mock the `Request` facade. Instead, pass the input you desire into the HTTP helper methods such as `call` and `post` when running your test. Likewise, instead of mocking the `Config` facade, simply call the `Config::set` method in your tests.