Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Capitalize UUID acronym

  • Loading branch information...
commit 81c2e9db84857e273bc6fc63acdae9c32dcb54a8 1 parent 8f9b75d
@bcrowe bcrowe authored
View
6 lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php
@@ -431,7 +431,7 @@ public function testVirtualFieldWithFunction() {
}
/**
- * 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 @@ public function testUuidPrimaryKeyInsertion() {
$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 @@ public function testUuidPrimaryKeyInsertion() {
$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
2  lib/Cake/Utility/Validation.php
@@ -791,7 +791,7 @@ public static function userDefined($check, $object, $method, $args = null) {
}
/**
- * 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
Please sign in to comment.
Something went wrong with that request. Please try again.