Normalized on operating in float seconds rather than milliseconds.

This commit is contained in:
Andrey Savchenko committed 2018-02-22 13:14:15 +02:00
1 parent 624e282905
commit 1e75033f25
8 files changed
+15 -19

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class SqlTest extends LapsTestCase {
$this->assertEquals( $query, $record->get_name() );
$this->assertContains( $query, $record->get_description() );
$this->assertInternalType( 'float', $record->get_origin() );
$this->assertEquals( $duration * 1000, $record->get_duration() );
$this->assertEquals( $duration, $record->get_duration() );
$this->assertEquals( 'query-read', $record->get_category() );
}
}