From 162d3bcb29d32fea0ed660fedb43608bb5db9bef Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 23 Jul 2012 22:44:05 -0400 Subject: [PATCH] Fix whitespace errors. --- lib/Cake/Model/Behavior/TranslateBehavior.php | 2 +- lib/Cake/Test/Case/Utility/ValidationTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Model/Behavior/TranslateBehavior.php b/lib/Cake/Model/Behavior/TranslateBehavior.php index 7ac077b72..f90615992 100644 --- a/lib/Cake/Model/Behavior/TranslateBehavior.php +++ b/lib/Cake/Model/Behavior/TranslateBehavior.php @@ -71,7 +71,7 @@ class TranslateBehavior extends ModelBehavior { ); return false; } - + $this->settings[$Model->alias] = array(); $this->runtime[$Model->alias] = array('fields' => array()); $this->translateModel($Model); diff --git a/lib/Cake/Test/Case/Utility/ValidationTest.php b/lib/Cake/Test/Case/Utility/ValidationTest.php index 4ea1d15c6..ddd07df21 100644 --- a/lib/Cake/Test/Case/Utility/ValidationTest.php +++ b/lib/Cake/Test/Case/Utility/ValidationTest.php @@ -1785,7 +1785,7 @@ class ValidationTest extends CakeTestCase { $this->assertTrue(Validation::url('http://underscore_subdomain.example.org')); $this->assertTrue(Validation::url('http://_jabber._tcp.gmail.com')); $this->assertFalse(Validation::url('http://www.underscore_domain.org')); - $this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com')); + $this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com')); $this->assertTrue(Validation::url('http://example.com/~userdir/subdir/index.html')); $this->assertTrue(Validation::url('http://www.zwischenraume.de'));