WordPress.org

Make WordPress Core

Changeset 808 in tests


Ignore:
Timestamp:
06/30/12 20:44:25 (22 months ago)
Author:
maxcutler
Message:

XMLRPC: Fix test for mt.getRecentPostTitles broken by [807].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-testcase/test-xmlrpc-api/test_mt_getRecentPostTitles.php

    r771 r808  
    1313 
    1414    function test_no_posts() { 
    15         $this->_delete_all_posts(); 
    1615        $this->make_user_by_role( 'author' ); 
    1716 
     
    3433        $this->make_user_by_role( 'author' ); 
    3534 
     35        $this->factory->post->create(); 
     36 
    3637        $results = $this->myxmlrpcserver->mt_getRecentPostTitles( array( 1, 'author', 'author' ) ); 
    3738        $this->assertNotInstanceOf( 'IXR_Error', $results ); 
Note: See TracChangeset for help on using the changeset viewer.