Removing redundant test case from TimeHelper test

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6483 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2008-02-28 01:57:59 +00:00
parent 97dded350f
commit 9931e0ef93

View file

@ -72,10 +72,7 @@ class TimeTest extends UnitTestCase {
$this->assertEqual($result, '2 weeks, 2 days ago');
$result = $this->Time->timeAgoInWords(strtotime('2 weeks, 2 days'), 'Y-m-d', true);
$this->assertEqual($result, '2 weeks, 2 days');
$result = $this->Time->timeAgoInWords(strtotime('2 weeks, 2 days'), 'Y-m-d', true);
$this->assertEqual($result, '2 weeks, 2 days');
$this->assertPattern('/^2 weeks, [1|2] day(s)?$/', $result);
$result = $this->Time->timeAgoInWords(strtotime('2 months, 2 days'), array('end' => '1 month'));
$this->assertEqual($result, 'on ' . date('j/n/y', strtotime('2 months, 2 days')));