Skip to content

Commit 881e53d

Browse files
committed
Merge pull request #352 from gnutix/patch-2
Fix method "getTotalTime" to "getDuration".
2 parents df6cbe3 + 0eafc81 commit 881e53d

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
@@ -37,7 +37,7 @@ qu'il est disponible (il est activé par défaut dans l'environnement de ``test`
3737
$this->assertLessThan(10, $profile->getCollector('db')->getQueryCount());
3838

3939
// Vérifier le temps utilisé par le framework
40-
$this->assertLessThan((500, $profile->getCollector('time')->getTotalTime());
40+
$this->assertLessThan((500, $profile->getCollector('time')->getDuration());
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)