Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ public function getCaseForTest(TestInterface $test)
*/
public function formatTime($time)
{
// TestRail doesn't support subsecond times
// In TestRail version 5.5 was added support of milliseconds
if ($time < 1.0) {
return '0s';
return round($time, 2) .'s';
}

$formatted = '';
Expand Down