Skip to content

Commit

Permalink
Add missing meta input in test
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Jun 21, 2024
1 parent cef06b4 commit dd60252
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/phpunit/tests/REST_Attachments_Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ public function test_create_item_for_upload_request() {
'post_type' => 'mexp-upload-request',
'post_status' => 'publish',
'post_name' => 'someslug',
'meta_input' => [
'mexp_allowed_types' => [ 'image' ],
'mexp_accept' => 'image/*',
'mexp_multiple' => false,
],
]
);

Expand Down

0 comments on commit dd60252

Please sign in to comment.