Skip to content

Commit 3363f33

Browse files
tests: corrected expected schedule string in Dispatcher test
1 parent 78bdb7e commit 3363f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Tests/APICoreDispatcherTestCase.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class APICoreDispatcherTestCase extends TestCase {
137137
$dispatcher->schedule = '* 12 * * *';
138138
$dispatcher_cron_job = $dispatcher->setup_schedule();
139139
$cron_job_cmd = '/usr/local/pkg/RESTAPI/.resources/scripts/manage.php notifydispatcher Dispatcher';
140-
$this->assert_equals($dispatcher_cron_job->minute->value, "@$dispatcher->schedule");
140+
$this->assert_equals($dispatcher_cron_job->minute->value, $dispatcher->schedule);
141141
$this->assert_equals($dispatcher_cron_job->command->value, $cron_job_cmd);
142142

143143
# Delete the CronJob

0 commit comments

Comments
 (0)