Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Apr 26, 2024
1 parent 98bfaea commit eccff35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/wpunit/APINoDataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ public function testGetBroadcasts()
{
$result = $this->api->get_broadcasts();
$this->assertNotInstanceOf(WP_Error::class, $result);
$this->assertIsArray($result);
$this->assertCount(1, $result);
$this->assertIsArray($result['broadcasts']);
$this->assertCount(1, $result['broadcasts']);
}

/**
Expand Down

0 comments on commit eccff35

Please sign in to comment.