Skip to content

Commit

Permalink
Merge pull request #1636 from xwp/chore/fix-lint-issues
Browse files Browse the repository at this point in the history
Fix lint issues in tests
  • Loading branch information
marcinkrzeminski authored Nov 21, 2024
2 parents 20e0770 + e606511 commit 05615af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/phpunit/test-class-alerts-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ public function test_enqueue_scripts() {
public function test_save_alert_inline_edit() {
$alerts_list = new Alerts_List( $this->plugin );
$post_id = wp_insert_post(
[
array(
'post_type' => Alerts::POST_TYPE,
]
)
);
$postarr = [
$postarr = array(
'ID' => $post_id,
'post_type' => Alerts::POST_TYPE,
];
$data = [];
);
$data = array();

// Create and authenticate user.
$user_id = self::factory()->user->create( array( 'role' => 'administrator' ) );
Expand Down

0 comments on commit 05615af

Please sign in to comment.