From 81c2e9db84857e273bc6fc63acdae9c32dcb54a8 Mon Sep 17 00:00:00 2001 From: Bryan Crowe Date: Tue, 8 Oct 2013 21:46:30 -0400 Subject: [PATCH] Capitalize UUID acronym --- lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php | 6 +++--- lib/Cake/Utility/Validation.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php b/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php index a121da575..403b46e06 100644 --- a/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php @@ -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'); } /** diff --git a/lib/Cake/Utility/Validation.php b/lib/Cake/Utility/Validation.php index 45d1e3e37..f51c3c35d 100644 --- a/lib/Cake/Utility/Validation.php +++ b/lib/Cake/Utility/Validation.php @@ -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