Changeset 48939 for trunk/tests/phpunit/tests/theme.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme.php
r48937 r48939 430 430 'show_in_rest' => false, 431 431 ); 432 $this->assert EqualSets( $expected, get_registered_theme_feature( 'test-feature' ) );432 $this->assertSameSets( $expected, get_registered_theme_feature( 'test-feature' ) ); 433 433 } 434 434 … … 467 467 $expected = array( 468 468 'schema' => array( 469 'description' => '', 469 470 'type' => 'boolean', 470 'description' => '',471 471 'default' => false, 472 472 ), … … 476 476 $actual = get_registered_theme_feature( 'test-feature' )['show_in_rest']; 477 477 478 $this->assert EqualSets( $expected, $actual );478 $this->assertSameSets( $expected, $actual ); 479 479 } 480 480 … … 510 510 $actual = get_registered_theme_feature( 'test-feature' )['show_in_rest']['schema']; 511 511 512 $this->assert EqualSets( $expected, $actual );512 $this->assertSameSets( $expected, $actual ); 513 513 } 514 514 … … 588 588 $actual = get_registered_theme_feature( 'test-feature' )['show_in_rest']['schema']['additionalProperties']; 589 589 590 $this->assert EqualSets( $expected, $actual );590 $this->assertSameSets( $expected, $actual ); 591 591 } 592 592
Note: See TracChangeset
for help on using the changeset viewer.