WordPress.org

Make WordPress Core

Changeset 735 in tests


Ignore:
Timestamp:
06/05/12 16:49:34 (23 months ago)
Author:
duck_
Message:

Drop trailing full stop from invalid term error message, see [WP20996].

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

Legend:

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

    r732 r735  
    5454        $this->assertInstanceOf( 'IXR_Error', $result ); 
    5555        $this->assertEquals( 404, $result->code ); 
    56         $this->assertEquals( __('Invalid term ID.'), $result->message ); 
     56        $this->assertEquals( __('Invalid term ID'), $result->message ); 
    5757    } 
    5858 
  • wp-testcase/test-xmlrpc-api/test_wp_editTerm.php

    r732 r735  
    5353        $this->assertInstanceOf( 'IXR_Error', $result ); 
    5454        $this->assertEquals( 404, $result->code ); 
    55         $this->assertEquals(  __( 'Invalid term ID.' ), $result->message ); 
     55        $this->assertEquals(  __( 'Invalid term ID' ), $result->message ); 
    5656    } 
    5757 
  • wp-testcase/test-xmlrpc-api/test_wp_getTerm.php

    r732 r735  
    5555        $this->assertInstanceOf( 'IXR_Error', $result ); 
    5656        $this->assertEquals( 404, $result->code ); 
    57         $this->assertEquals( __('Invalid term ID.'), $result->message ); 
     57        $this->assertEquals( __('Invalid term ID'), $result->message ); 
    5858    } 
    5959 
Note: See TracChangeset for help on using the changeset viewer.