Skip to content

Commit c856495

Browse files
javiereguiluzweaverryan
authored andcommitted
Symfony 2.2 renamed TimeDataCollector::getTotalTime() to getDuration()
1 parent 0966024 commit c856495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/testing/profiling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ the ``test`` environment)::
3939
// check the time spent in the framework
4040
$this->assertLessThan(
4141
500,
42-
$profile->getCollector('time')->getTotalTime()
42+
$profile->getCollector('time')->getDuration()
4343
);
4444
}
4545
}

0 commit comments

Comments
 (0)