Skip to content

Commit

Permalink
Changing flaky test.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhogg committed Dec 9, 2024
1 parent 21d5bc0 commit af28593
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,10 @@ public function test_dismiss_nope() {
try {
$this->main->dismiss();
} catch ( WPDieException $e ) {
$review = get_option( 'llms_review' );

$this->assertEquals( array(
'time' => time(),
'dismissed' => true,
'success' => 'no',
), get_option( 'llms_review' ) );
$this->assertTrue( $review['dismissed'] );
$this->assertEquals( 'no', $review['success'] );

}

Expand Down

0 comments on commit af28593

Please sign in to comment.