Make WordPress Core

Changeset 873 in tests


Ignore:
Timestamp:
07/03/2012 04:07:34 PM (14 years ago)
Author:
kurtpayne
Message:

Fix a fatal php error: Argument 1 passed to PHPUnit_Framework_TestCase::prepareTemplate() must be an instance of Text_Template, none given

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-testlib/testcase.php

    r872 r873  
    150150         */
    151151        function prepareTemplate( $template ) {
    152                 parent::prepareTemplate();
    153152                $template->setVar( array( 'constants' => '' ) );
    154153                $template->setVar( array( 'wp_constants' => PHPUnit_Util_GlobalState::getConstantsAsString() ) );
     154                parent::prepareTemplate( $template );
    155155        }
    156156}
Note: See TracChangeset for help on using the changeset viewer.