WordPress.org

Make WordPress Core

Changeset 732 in tests


Ignore:
Timestamp:
06/01/2012 07:06:04 PM (6 years ago)
Author:
ryan
Message:

Update xmlrpc tests to accommodate #WP20809

Location:
wp-testcase/test-xmlrpc-api
Files:
6 edited

Legend:

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

    r701 r732  
    2626        $this->assertInstanceOf( 'IXR_Error', $result );
    2727        $this->assertEquals( 403, $result->code );
    28         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     28        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    2929    }
    3030
     
    3333        $this->assertInstanceOf( 'IXR_Error', $result );
    3434        $this->assertEquals( 403, $result->code );
    35         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     35        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    3636    }
    3737
  • wp-testcase/test-xmlrpc-api/test_wp_editTerm.php

    r707 r732  
    3232        $this->assertInstanceOf( 'IXR_Error', $result );
    3333        $this->assertEquals( 403, $result->code );
    34         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     34        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    3535    }
    3636
     
    3939        $this->assertInstanceOf( 'IXR_Error', $result );
    4040        $this->assertEquals( 403, $result->code );
    41         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     41        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    4242    }
    4343
  • wp-testcase/test-xmlrpc-api/test_wp_getTaxonomy.php

    r706 r732  
    1313        $this->assertInstanceOf( 'IXR_Error', $result );
    1414        $this->assertEquals( 403, $result->code );
    15         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     15        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    1616    }
    1717
     
    2020        $this->assertInstanceOf( 'IXR_Error', $result );
    2121        $this->assertEquals( 403, $result->code );
    22         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     22        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    2323    }
    2424
  • wp-testcase/test-xmlrpc-api/test_wp_getTerm.php

    r701 r732  
    2626        $this->assertInstanceOf( 'IXR_Error', $result );
    2727        $this->assertEquals( 403, $result->code );
    28         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     28        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    2929    }
    3030
     
    3333        $this->assertInstanceOf( 'IXR_Error', $result );
    3434        $this->assertEquals( 403, $result->code );
    35         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     35        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    3636    }
    3737
  • wp-testcase/test-xmlrpc-api/test_wp_getTerms.php

    r717 r732  
    2626        $this->assertInstanceOf( 'IXR_Error', $result );
    2727        $this->assertEquals( 403, $result->code );
    28         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     28        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    2929    }
    3030
     
    3333        $this->assertInstanceOf( 'IXR_Error', $result );
    3434        $this->assertEquals( 403, $result->code );
    35         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     35        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    3636    }
    3737
  • wp-testcase/test-xmlrpc-api/test_wp_newTerm.php

    r707 r732  
    3030        $this->assertInstanceOf( 'IXR_Error', $result );
    3131        $this->assertEquals( 403, $result->code );
    32         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     32        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    3333    }
    3434
     
    3737        $this->assertInstanceOf( 'IXR_Error', $result );
    3838        $this->assertEquals( 403, $result->code );
    39         $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
     39        $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
    4040    }
    4141
Note: See TracChangeset for help on using the changeset viewer.