diff --git a/tests/TestCase/Utility/InflectorTest.php b/tests/TestCase/Utility/InflectorTest.php index 2bca302662d..33c31a72275 100644 --- a/tests/TestCase/Utility/InflectorTest.php +++ b/tests/TestCase/Utility/InflectorTest.php @@ -255,11 +255,11 @@ public function testInflectingPlurals() } /** - * testInflectorSlug method + * testSlug method * * @return void */ - public function testInflectorSlug() + public function testSlug() { $result = Inflector::slug('Foo Bar: Not just for breakfast any-more'); $expected = 'Foo-Bar-Not-just-for-breakfast-any-more'; @@ -326,7 +326,7 @@ public function testInflectorSlug() * * @return void */ - public function testInflectorSlugCharList() + public function testSlugCharList() { foreach (self::$maps as $language => $list) { foreach ($list as $from => $to) { @@ -337,11 +337,11 @@ public function testInflectorSlugCharList() } /** - * testInflectorSlugWithMap method + * testSlugWithMap method * * @return void */ - public function testInflectorSlugWithMap() + public function testSlugWithMap() { Inflector::rules('transliteration', ['r' => '1']); $result = Inflector::slug('replace every r'); @@ -354,11 +354,11 @@ public function testInflectorSlugWithMap() } /** - * testInflectorSlugWithMapOverridingDefault method + * testSlugWithMapOverridingDefault method * * @return void */ - public function testInflectorSlugWithMapOverridingDefault() + public function testSlugWithMapOverridingDefault() { Inflector::rules('transliteration', ['å' => 'aa', 'ø' => 'oe']); $result = Inflector::slug('Testing æ ø å', '-'); @@ -367,11 +367,11 @@ public function testInflectorSlugWithMapOverridingDefault() } /** - * testInflectorUnderscore method + * testUnderscore method * * @return void */ - public function testInflectorUnderscore() + public function testUnderscore() { $this->assertSame('test_thing', Inflector::underscore('TestThing')); $this->assertSame('test_thing', Inflector::underscore('testThing'));