mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Add test cases for pluralization/singularlization of quota.
Closes #2077
This commit is contained in:
parent
8eb247528d
commit
5c8eb5c5a7
1 changed files with 2 additions and 0 deletions
|
@ -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(''), '');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue