Skip to content

Commit

Permalink
Fix cron test
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Feb 19, 2017
1 parent 873c0cf commit bbfbd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/Cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function test_run_cron_wrong_hour() {

public function test_run_cron_wrong_day() {
update_option( 'digest_frequency', array(
'period' => 'daily',
'period' => 'weekly',
'hour' => date( 'H' ),
'day' => date( 'w' ) + 1,
) );
Expand Down

0 comments on commit bbfbd78

Please sign in to comment.