Skip to content

Commit a2c23a5

Browse files
committed
Use floor instead of round in test
1 parent 545fcb7 commit a2c23a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/WP_SQLite_Metadata_Tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function testInformationSchemaTables() {
112112
"SELECT
113113
table_name as 'name',
114114
engine AS 'engine',
115-
round( ( data_length / 1024 / 1024 ), 2 ) 'data'
115+
FLOOR( data_length / 1024 / 1024 ) 'data'
116116
FROM INFORMATION_SCHEMA.TABLES
117117
WHERE TABLE_NAME = 'wp_posts'
118118
ORDER BY name ASC;"

0 commit comments

Comments
 (0)