Skip to content

Commit

Permalink
Update WebhookControllerTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed May 3, 2024
1 parent a9ac56d commit 79628e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/src/WebhookControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ public function test_webhook( $response_file, $payment_status, $transaction_id )
*/
$this->assertEquals( $payment_status, $payment->get_status() );
$this->assertEquals( $transaction_id, $payment->get_transaction_id() );

/**
* Cleanup.
*/
\wp_delete_post( $payment->get_id(), true );
}

/**
Expand Down

0 comments on commit 79628e8

Please sign in to comment.