From 5c8eb5c5a730c07a6b57fc0fc904ab13aa7d2db3 Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 15 Oct 2013 17:48:26 -0400 Subject: [PATCH] Add test cases for pluralization/singularlization of quota. Closes #2077 --- lib/Cake/Test/Case/Utility/InflectorTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Cake/Test/Case/Utility/InflectorTest.php b/lib/Cake/Test/Case/Utility/InflectorTest.php index c1dabe50b..00cc702e1 100644 --- a/lib/Cake/Test/Case/Utility/InflectorTest.php +++ b/lib/Cake/Test/Case/Utility/InflectorTest.php @@ -120,6 +120,7 @@ class InflectorTest extends CakeTestCase { $this->assertEquals(Inflector::singularize('objectives'), 'objective'); $this->assertEquals(Inflector::singularize('archives'), 'archive'); $this->assertEquals(Inflector::singularize('briefs'), 'brief'); + $this->assertEquals(Inflector::singularize('quotas'), 'quota'); $this->assertEquals(Inflector::singularize(''), ''); } @@ -181,6 +182,7 @@ class InflectorTest extends CakeTestCase { $this->assertEquals(Inflector::pluralize('foot'), 'feet'); $this->assertEquals(Inflector::pluralize('objective'), 'objectives'); $this->assertEquals(Inflector::pluralize('brief'), 'briefs'); + $this->assertEquals(Inflector::pluralize('quota'), 'quotas'); $this->assertEquals(Inflector::pluralize(''), ''); }