Skip to content

Commit

Permalink
fix: broken unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubersilva committed Oct 29, 2024
1 parent 514b17c commit a1f977e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/includes/legacy/tests-post-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public function test_give_post_type_labels() {
$this->assertEquals( 'Donation Forms', $wp_post_types['give_forms']->labels->name );
$this->assertEquals( 'Form', $wp_post_types['give_forms']->labels->singular_name );
$this->assertEquals( 'Add Form', $wp_post_types['give_forms']->labels->add_new );
$this->assertEquals( 'Add New Donation Form', $wp_post_types['give_forms']->labels->add_new_item );
$this->assertEquals( 'Edit Donation Form', $wp_post_types['give_forms']->labels->edit_item );
$this->assertEquals('Add New Campaign Form', $wp_post_types['give_forms']->labels->add_new_item);
$this->assertEquals('Edit Campaign Form', $wp_post_types['give_forms']->labels->edit_item);
$this->assertEquals( 'New Form', $wp_post_types['give_forms']->labels->new_item );
$this->assertEquals( 'All Forms', $wp_post_types['give_forms']->labels->all_items );
$this->assertEquals( 'View Form', $wp_post_types['give_forms']->labels->view_item );
Expand Down

0 comments on commit a1f977e

Please sign in to comment.