Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/01/2014 02:48:42 AM (11 years ago)
Author:
boonebgorges
Message:

Use correct date() format throughout unit tests

Also fix incorrect value reference in xprofile/activity tests. Props DJPaul

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/includes/testcase.php

    r7988 r8012  
    220220        $r = wp_parse_args( $args, array(
    221221            'role' => 'subscriber',
    222             'last_activity' => date( 'Y-m-d h:i:s', strtotime( bp_core_current_time() ) - 60*60*24*365 ),
     222            'last_activity' => date( 'Y-m-d H:i:s', strtotime( bp_core_current_time() ) - 60*60*24*365 ),
    223223        ) );
    224224
Note: See TracChangeset for help on using the changeset viewer.