Changeset 5929
- Timestamp:
- 08/25/2015 11:20:48 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/topics/template/get-last-thing.php
r5873 r5929 46 46 47 47 $now = time(); 48 $post_date_topic = date( 'Y-m-d H:i:s', $now - 60 *60*100 );49 $post_date_reply = date( 'Y-m-d H:i:s', $now - 60 *60*80 );48 $post_date_topic = date( 'Y-m-d H:i:s', $now - 60 * 60 * 100 ); 49 $post_date_reply = date( 'Y-m-d H:i:s', $now - 60 * 60 * 80 ); 50 50 51 51 $topic_time = '4 days, 4 hours ago'; 52 $reply_time = ' 1 hour, 6 minutes ago';52 $reply_time = '3 days, 8 hours ago'; 53 53 54 54 $t = $this->factory->topic->create( array( … … 79 79 // Reply time. 80 80 $datetime = bbp_get_topic_last_active_time( $t ); 81 $this->assertSame( ' 1 hour, 6 minutes ago', $reply_time );81 $this->assertSame( '3 days, 8 hours ago', $datetime ); 82 82 83 83 }
Note: See TracChangeset
for help on using the changeset viewer.