Changeset 8788
- Timestamp:
- 08/11/2014 03:32:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/functions.php
r8676 r8788 351 351 * @group bp_core_current_time 352 352 */ 353 public function test_bp_core_time_since_timezone_ right_now() {353 public function test_bp_core_time_since_timezone_minute_ago() { 354 354 // backup timezone 355 355 $tz_backup = date_default_timezone_get(); … … 358 358 date_default_timezone_set( 'Europe/Paris' ); 359 359 360 $this->assertSame( ' right now', bp_core_time_since( time()) );360 $this->assertSame( '1 minute ago', bp_core_time_since( time() - 60 ) ); 361 361 362 362 // revert timezone back to normal
Note: See TracChangeset
for help on using the changeset viewer.