Skip to content

Commit

Permalink
fix : tearDown action before parent::tearTown()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ta5r committed Oct 1, 2024
1 parent 3bf0950 commit d1ec4fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/CoreImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ public function setUp(): void {
public function tearDown(): void {
// your tear down methods here
wp_delete_post( $this->post_id, true );
\WPGraphQL::clear_schema();

parent::tearDown();

\WPGraphQL::clear_schema();
}

public function query() {
Expand Down

0 comments on commit d1ec4fc

Please sign in to comment.