Make WordPress Core


Ignore:
Timestamp:
07/17/2016 04:23:31 PM (8 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/getTerm.php

    r37914 r38078  
    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
     
    3535        $this->assertInstanceOf( 'IXR_Error', $result );
    3636        $this->assertEquals( 403, $result->code );
    37         $this->assertEquals( __( 'Invalid taxonomy' ), $result->message );
     37        $this->assertEquals( __( 'Invalid taxonomy.' ), $result->message );
    3838    }
    3939
     
    6363        $this->assertInstanceOf( 'IXR_Error', $result );
    6464        $this->assertEquals( 404, $result->code );
    65         $this->assertEquals( __('Invalid term ID'), $result->message );
     65        $this->assertEquals( __( 'Invalid term ID.' ), $result->message );
    6666    }
    6767
Note: See TracChangeset for help on using the changeset viewer.