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')); } /**