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/deleteTerm.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
     
    6262        $this->assertInstanceOf( 'IXR_Error', $result );
    6363        $this->assertEquals( 404, $result->code );
    64         $this->assertEquals( __('Invalid term ID'), $result->message );
     64        $this->assertEquals( __( 'Invalid term ID.' ), $result->message );
    6565    }
    6666
Note: See TracChangeset for help on using the changeset viewer.