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/taxonomy.php

    r37954 r38078  
    255255        $terms = get_objects_in_term( 1, 'invalid_taxonomy' );
    256256        $this->assertInstanceOf( 'WP_Error', $terms );
    257         $this->assertEquals( 'Invalid taxonomy', $terms->get_error_message() );
     257        $this->assertEquals( 'invalid_taxonomy', $terms->get_error_code() );
    258258    }
    259259
Note: See TracChangeset for help on using the changeset viewer.