Skip to content

Commit

Permalink
Tests: Fix WP 4.7 test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jom committed Dec 4, 2018
1 parent 05da3c4 commit 9e80430
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -4,6 +4,11 @@

class WP_Test_WP_Job_Manager_Writepanels extends WPJM_BaseTest {

public function setUp() {
parent::setUp();
$this->enable_manage_job_listings_cap();
}

public function data_provider_test_save_job_data_auto_expire() {
$expired_date = date( 'Y-m-d', strtotime( '-2 months', current_time( 'timestamp' ) ) );
$future_date = date( 'Y-m-d', strtotime( '+2 months', current_time( 'timestamp' ) ) );
Expand Down

0 comments on commit 9e80430

Please sign in to comment.