Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phpunit/class-wp-rest-icon-controller-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function test_get_items_search_includes_label() {
$data = $response->get_data();

$this->assertSame( 200, $response->get_status() );
$this->assertEquals( array( 'core/at-symbol' ), array_column( $data, 'name' ) );
$this->assertSame( array( 'core/at-symbol' ), array_column( $data, 'name' ) );
}

/**
Expand Down Expand Up @@ -242,7 +242,7 @@ public function test_get_items_search_includes_keywords() {
$data = $response->get_data();

$this->assertSame( 200, $response->get_status() );
$this->assertEquals( array( $icon_name ), array_column( $data, 'name' ) );
$this->assertSame( array( $icon_name ), array_column( $data, 'name' ) );
} finally {
wp_unregister_icon( $icon_name );
}
Expand Down
Loading