Changeset 45379 for trunk/tests/phpunit/tests/date/theDate.php
- Timestamp:
- 05/23/2019 12:37:56 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/theDate.php
r45378 r45379 139 139 140 140 ob_start(); 141 $GLOBALS['currentday'] = '18.09.15';142 $GLOBALS['previous day'] = '17.09.15';141 $GLOBALS['currentday'] = '18.09.15'; 142 $GLOBALS['previousweekday'] = '17.09.15'; 143 143 the_weekday_date(); 144 144 $this->assertEquals( 'Wednesday', ob_get_clean() ); 145 145 146 146 ob_start(); 147 $GLOBALS['currentday'] = '18.09.15';148 $GLOBALS['previous day'] = '17.09.15';147 $GLOBALS['currentday'] = '18.09.15'; 148 $GLOBALS['previousweekday'] = '17.09.15'; 149 149 the_weekday_date( 'before ', ' after' ); 150 150 $this->assertEquals( 'before Wednesday after', ob_get_clean() );
Note: See TracChangeset
for help on using the changeset viewer.