Skip to content

Commit

Permalink
WC_Admin_Tests_Notes_Data_Store::test_read to account for return type…
Browse files Browse the repository at this point in the history
… of `get_is_snoozable`.
  • Loading branch information
andfinally committed Mar 19, 2024
1 parent 9ff5e14 commit a63502f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@ public function test_read() {
$this->assertEquals( $note->get_type(), $read_note->get_type() );
$this->assertEquals( $note->get_name(), $read_note->get_name() );
$this->assertEquals( $note->get_source(), $read_note->get_source() );
$this->assertEquals( $note->get_is_snoozable(), '0' !== $read_note->get_is_snoozable() );
$this->assertEquals( $note->get_is_snoozable(), false !== $read_note->get_is_snoozable() );
$this->assertEquals( $note->get_layout(), $read_note->get_layout() );
$this->assertEquals( $note->get_image(), $read_note->get_image() );
$this->assertEquals( $note->get_actions(), $read_note->get_actions() );
Expand Down

0 comments on commit a63502f

Please sign in to comment.