Make WordPress Core

Changeset 907 in tests


Ignore:
Timestamp:
07/18/2012 09:29:11 PM (12 years ago)
Author:
maxcutler
Message:

XMLRPC: Fixed a wp.deletePost test to use a truly invalid ID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/xmlrpc/wp/deletePost.php

    r904 r907  
    1515        $this->make_user_by_role( 'editor' );
    1616
    17         $result = $this->myxmlrpcserver->wp_deletePost( array( 1, 'editor', 'editor', 0 ) );
     17        $result = $this->myxmlrpcserver->wp_deletePost( array( 1, 'editor', 'editor', 340982340 ) );
    1818        $this->assertInstanceOf( 'IXR_Error', $result );
    1919        $this->assertEquals( 404, $result->code );
Note: See TracChangeset for help on using the changeset viewer.