WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/17/2016 04:23:31 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Unit Tests: Account for the string changes in [38077].

See #18218.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/xmlrpc/wp/editTerm.php

    r37914 r38078  
    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
     
    4141        $this->assertInstanceOf( 'IXR_Error', $result );
    4242        $this->assertEquals( 403, $result->code );
    43         $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
     43        $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
    4444    }
    4545
     
    5959        $this->assertInstanceOf( 'IXR_Error', $result );
    6060        $this->assertEquals( 404, $result->code );
    61         $this->assertEquals(  __( 'Invalid term ID' ), $result->message );
     61        $this->assertEquals(  __( 'Invalid term ID.' ), $result->message );
    6262    }
    6363
Note: See TracChangeset for help on using the changeset viewer.