Skip to content
Browse files

UUID values in SQLserver are always uppercased.

This is in contrast to Text::uuid() which makes lowercase values.
Normalizing the values allows the tests to pass on all supported dbs.
  • Loading branch information...
markstory committed Mar 28, 2015
1 parent 7eb09b0 commit c096aa35736bdb56e6755adf854aed172ca83d49
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/TestCase/ORM/TableUuidTest.php
@@ -100,7 +100,7 @@ public function testSaveNewSpecificId()
$row = $table->find('all')->where(['id' => $id])->first();
$this->assertSame($id, $row->id);
$this->assertSame($id, strtolower($row->id));
$this->assertSame($entity->name, $row->name);

0 comments on commit c096aa3

Please sign in to comment.
You can’t perform that action at this time.