From 71464917c3846672b6f6e15dfd6181981a06f336 Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 29 Sep 2014 02:01:00 +0530 Subject: [PATCH] Fix tests for changes in previous commit. --- tests/TestCase/ORM/TableTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestCase/ORM/TableTest.php b/tests/TestCase/ORM/TableTest.php index 0f0971d1ffd..452ab70c653 100644 --- a/tests/TestCase/ORM/TableTest.php +++ b/tests/TestCase/ORM/TableTest.php @@ -1133,7 +1133,7 @@ public function testAddBehaviorMissing() { public function testCallBehaviorMethod() { $table = TableRegistry::get('article'); $table->addBehavior('Sluggable'); - $this->assertEquals('some_value', $table->slugify('some value')); + $this->assertEquals('some-value', $table->slugify('some value')); } /** @@ -1144,7 +1144,7 @@ public function testCallBehaviorMethod() { public function testCallBehaviorAliasedMethod() { $table = TableRegistry::get('article'); $table->addBehavior('Sluggable', ['implementedMethods' => ['wednesday' => 'slugify']]); - $this->assertEquals('some_value', $table->wednesday('some value')); + $this->assertEquals('some-value', $table->wednesday('some value')); } /**