mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #308 from shama/patch-3
Fix docblock formatting with Time Helper Test
This commit is contained in:
commit
354b7a0ad4
1 changed files with 6 additions and 3 deletions
|
@ -515,7 +515,8 @@ class TimeHelperTest extends CakeTestCase {
|
|||
$result = $this->Time->isThisYear(mktime(0, 0, 0, mt_rand(1, 12), mt_rand(1, 28), date('Y')));
|
||||
$this->assertTrue($result);
|
||||
}
|
||||
/**
|
||||
|
||||
/**
|
||||
* testWasYesterday method
|
||||
*
|
||||
* @return void
|
||||
|
@ -534,7 +535,8 @@ class TimeHelperTest extends CakeTestCase {
|
|||
$result = $this->Time->wasYesterday('-2 days');
|
||||
$this->assertFalse($result);
|
||||
}
|
||||
/**
|
||||
|
||||
/**
|
||||
* testIsTomorrow method
|
||||
*
|
||||
* @return void
|
||||
|
@ -594,7 +596,8 @@ class TimeHelperTest extends CakeTestCase {
|
|||
$this->assertTrue($this->Time->wasWithinLast('1 ', '-1 minute'));
|
||||
$this->assertTrue($this->Time->wasWithinLast('1 ', '-23 hours -59 minutes -59 seconds'));
|
||||
}
|
||||
/**
|
||||
|
||||
/**
|
||||
* testUserOffset method
|
||||
*
|
||||
* @return void
|
||||
|
|
Loading…
Reference in a new issue