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/testcases/xprofile/class-bp-xprofile-profiledata.php

    r7882 r8012  
    146146     */
    147147    public function test_get_value_byid_multipleusers_uncached() {
    148         $time = date( 'Y-m-d h:i:s', time() - 60*60*24 );
     148        $time = date( 'Y-m-d H:i:s', time() - 60*60*24 );
    149149
    150150        $u1 = $this->create_user();
     
    226226     */
    227227    public function test_get_value_byid_multipleusers_cached() {
    228         $time = date( 'Y-m-d h:i:s', time() - 60*60*24 );
     228        $time = date( 'Y-m-d H:i:s', time() - 60*60*24 );
    229229
    230230        $u1 = $this->create_user();
Note: See TracChangeset for help on using the changeset viewer.