Permalink
Browse files

bug #3665 [Cookbook][Test] fix sample code (inalgnu)

This PR was merged into the 2.3 branch.

Discussion
----------

[Cookbook][Test] fix sample code

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all

Commits
-------

370d614 [Cookbook][Test]fix sample code
  • Loading branch information...
weaverryan committed Mar 12, 2014
2 parents 97ef2f7 + 370d614 commit de0a5e1fc9baa62fa670b1486eedb9ae66b529ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbook/testing/profiling.rst
@@ -51,7 +51,7 @@ finish. It's easy to achieve if you embed the token in the error message::
$this->assertLessThan(
30,
$profile->get('db')->getQueryCount(),
$profile->getCollector('db')->getQueryCount(),
sprintf(
'Checks that query count is less than 30 (token %s)',
$profile->getToken()

0 comments on commit de0a5e1

Please sign in to comment.