Skip to content

Commit

Permalink
Merge pull request #220 from lf-uraku-yuki/fix_document_404link
Browse files Browse the repository at this point in the history
Corrected http404 link to FunctionPatcher's whitelist
  • Loading branch information
kenjis committed Dec 23, 2017
2 parents 96cb497 + f692987 commit 0cdd8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/HowToWriteTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ This patcher allows replacement of global functions that can't be mocked by PHPU

But it has a few limitations. Some functions can't be replaced and it might cause errors.

So by default we can replace only a dozen pre-defined functions in [FunctionPatcher](https://github.com/kenjis/ci-phpunit-test/blob/v0.15.0/application/tests/_ci_phpunit_test/patcher/Patcher/FunctionPatcher.php#L27).
So by default we can replace only a dozen pre-defined functions in [FunctionPatcher](https://github.com/kenjis/ci-phpunit-test/blob/v0.15.0/application/tests/_ci_phpunit_test/patcher/3.x/Patcher/FunctionPatcher.php#L27).

~~~php
public function test_index()
Expand Down

0 comments on commit 0cdd8fa

Please sign in to comment.