Skip to content

Commit

Permalink
Merge pull request cakephp#6785 from kicaj/patch-3
Browse files Browse the repository at this point in the history
Update testing.rst
othercorey authored Sep 13, 2020
2 parents 3ba8766 + 67185f6 commit c4c8ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/development/testing.rst
Original file line number Diff line number Diff line change
@@ -208,7 +208,7 @@ our code creates the output we expect::
}

The above test is a simple one but shows the potential benefit of using test
cases. We use ``assertContains()`` to ensure that our helper is returning a
cases. We use ``assertStringContainsString()`` to ensure that our helper is returning a
string that contains the content we expect. If the result did not contain the
expected content the test would fail, and we would know that our code is
incorrect.

0 comments on commit c4c8ba5

Please sign in to comment.