Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 19, 2016
1 parent 80c95f0 commit 0bb5cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocking.md
Expand Up @@ -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.

0 comments on commit 0bb5cd7

Please sign in to comment.