Make WordPress Core


Ignore:
Timestamp:
06/22/2021 04:34:29 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Use more appropriate assertions in a few tests.

Follow-up to [34804], [41376], [50959], [51124].

See #52625.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php

    r51149 r51196  
    158158        $fse = WP_Theme_JSON_Resolver::theme_has_support();
    159159
    160         $this->assertSame( false, $default );
    161         $this->assertSame( true, $fse );
     160        $this->assertFalse( $default );
     161        $this->assertTrue( $fse );
    162162    }
    163163
Note: See TracChangeset for help on using the changeset viewer.