diff --git a/tests/TestCase/ORM/QueryTest.php b/tests/TestCase/ORM/QueryTest.php
index <HASH>..<HASH> 100644
--- a/tests/TestCase/ORM/QueryTest.php
+++ b/tests/TestCase/ORM/QueryTest.php
@@ -3212,7 +3212,7 @@ class QueryTest extends TestCase
             ])
             ->first();
         $this->assertNotEmpty($out, 'Should get a record');
-        $this->assertSame($small, $out->fraction);
+        $this->assertRegExp('/^0?\.1234567890123456789$/', $out->fraction);
 
         $small = 0.1234567890123456789;
         $entity = $table->newEntity(['fraction' => $small]);
Try to fix appveyor build.

SQLServer is returning decimal values with no 0.