Skip to content

Commit

Permalink
bug #3665 [Cookbook][Test] fix sample code (inalgnu)
Browse files Browse the repository at this point in the history
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 de0a5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/testing/profiling.rst
Expand Up @@ -51,7 +51,7 @@ finish. It's easy to achieve if you embed the token in the error message::


$this->assertLessThan( $this->assertLessThan(
30, 30,
$profile->get('db')->getQueryCount(), $profile->getCollector('db')->getQueryCount(),
sprintf( sprintf(
'Checks that query count is less than 30 (token %s)', 'Checks that query count is less than 30 (token %s)',
$profile->getToken() $profile->getToken()
Expand Down

0 comments on commit de0a5e1

Please sign in to comment.