Make WordPress Core


Ignore:
Timestamp:
05/18/2021 09:04:31 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Tests: Use assertInstanceOf() instead of assertTrue() in some tests.

See #52625.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/l10n/loadTextdomainJustInTime.php

    r50463 r50926  
    111111                remove_filter( 'locale', array( $this, 'filter_set_locale_to_german' ) );
    112112
    113                 $this->assertTrue( $translations instanceof NOOP_Translations );
     113                $this->assertInstanceOf( 'NOOP_Translations', $translations );
    114114        }
    115115
Note: See TracChangeset for help on using the changeset viewer.