Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Aug 26, 2024
1 parent fbfe645 commit 71cee15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/REST_Attachments_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public function test_sideload_item() {
$response = rest_get_server()->dispatch( $request );
$data = $response->get_data();

$this->assertSame( 201, $response->get_status() );
$this->assertSame( 200, $response->get_status() );
$this->assertSame( 'image', $data['media_type'] );
$this->assertArrayHasKey( 'missing_image_sizes', $data );
$this->assertEmpty( $data['missing_image_sizes'] );
Expand Down

0 comments on commit 71cee15

Please sign in to comment.