Capitalize UUID acronym

This commit is contained in:
Bryan Crowe 2013-10-08 21:46:30 -04:00
parent 8f9b75d016
commit 81c2e9db84
2 changed files with 4 additions and 4 deletions

View file

@ -431,7 +431,7 @@ class SqliteTest extends CakeTestCase {
}
/**
* Test that records can be inserted with uuid primary keys, and
* Test that records can be inserted with UUID primary keys, and
* that the primary key is not blank
*
* @return void
@ -441,7 +441,7 @@ class SqliteTest extends CakeTestCase {
$Model = ClassRegistry::init('Uuid');
$data = array(
'title' => 'A uuid should work',
'title' => 'A UUID should work',
'count' => 10
);
$Model->create($data);
@ -449,7 +449,7 @@ class SqliteTest extends CakeTestCase {
$result = $Model->read();
$this->assertEquals($data['title'], $result['Uuid']['title']);
$this->assertTrue(Validation::uuid($result['Uuid']['id']), 'Not a uuid');
$this->assertTrue(Validation::uuid($result['Uuid']['id']), 'Not a UUID');
}
/**

View file

@ -791,7 +791,7 @@ class Validation {
}
/**
* Checks that a value is a valid uuid - http://tools.ietf.org/html/rfc4122
* Checks that a value is a valid UUID - http://tools.ietf.org/html/rfc4122
*
* @param string $check Value to check
* @return boolean Success