diff --git a/src/TestSuite/Fixture/ChecksumTestFixture.php b/src/TestSuite/Fixture/ChecksumTestFixture.php index d26f0d8..47a05e7 100644 --- a/src/TestSuite/Fixture/ChecksumTestFixture.php +++ b/src/TestSuite/Fixture/ChecksumTestFixture.php @@ -114,11 +114,11 @@ protected function _hash(ConnectionInterface $db): string if ($driver instanceof Mysql) { $sth = $db->execute('CHECKSUM TABLE `' . $this->table . '`'); - return $sth->fetchColumn(1); + return (string)$sth->fetchColumn(1); } // Have no better idea right now to make it always regenerate the tables - return microtime(); + return microtime(false); } /**