Changeset 7102 for trunk/tests/testcases/core/functions.php
- Timestamp:
- 05/24/2013 01:33:06 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/testcases/core/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/testcases/core/functions.php
r7101 r7102 160 160 161 161 /** 162 * Sanity check for the singular version of 'year' 163 * 164 * @group bp_core_time_since 165 */ 166 public function test_bp_core_time_since_year() { 167 $now = time(); 168 $then = $now - YEAR_IN_SECONDS; 169 $this->assertEquals( '1 year ago', bp_core_time_since( $then, $now ) ); 170 } 171 172 /** 162 173 * @group bp_core_time_since 163 174 */
Note: See TracChangeset
for help on using the changeset viewer.