Skip to content

Commit

Permalink
UUID values in SQLserver are always uppercased.
Browse files Browse the repository at this point in the history
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 c096aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/ORM/TableUuidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function testSaveNewSpecificId()

$row = $table->find('all')->where(['id' => $id])->first();
$this->assertNotEmpty($row);
$this->assertSame($id, $row->id);
$this->assertSame($id, strtolower($row->id));
$this->assertSame($entity->name, $row->name);
}

Expand Down

0 comments on commit c096aa3

Please sign in to comment.