Skip to content

Commit

Permalink
Re-introduce test_update_payment_status(). #4576
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyratilal committed Jun 15, 2018
1 parent d7ef85f commit 512302d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/tests-payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ public function setUp() {
}

public function tearDown() {

parent::tearDown();

EDD_Helper_Payment::delete_payment( $this->_payment_id );
wp_cache_flush();

}

public function test_get_payments() {
Expand Down Expand Up @@ -119,8 +118,6 @@ public function test_payment_completed_flag_not_exists() {
}

public function test_update_payment_status() {
$this->markTestSkipped( 'Weird caching issue in Beta 1.' );

edd_update_payment_status( $this->_payment_id, 'publish' );

$out = edd_get_payments();
Expand Down

0 comments on commit 512302d

Please sign in to comment.