Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Fix test for cron client to match the fixed $args format
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Jul 6, 2018
1 parent 7683ff7 commit 917a51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/WpMinions/Cron/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function test_it_creates_cron_event_on_add() {
$actual = $this->client->add( 'cron_action_a' );
$this->assertTrue( $actual );

$next_event = wp_next_scheduled( 'cron_action_a', array() );
$next_event = wp_next_scheduled( 'cron_action_a', array( array() ) );
$this->assertEquals( time(), $next_event, '', 1000 );
}

Expand Down

0 comments on commit 917a51f

Please sign in to comment.