Skip to content

Commit 970ef03

Browse files
committed
Ensures cronjob is enabled
Adds cronjob enable parameter to the API module. Relates to UPS-5853
1 parent 1de45d6 commit 970ef03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/classes/uitpas/api/cron_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
context "with portbase => 14800" do
129129
let(:params) { {
130130
'portbase' => 14800,
131-
} }
131+
'cron_enabled' => true
132132

133133
it { is_expected.to contain_cron('uitpas enduser clearcheckincodes').with(
134134
'command' => "/usr/bin/curl 'http://127.0.0.1:14880/uitid/rest/uitpas/enduser/clearcheckincodes' >> /var/log/uitpas-cron/clearcheckincodes.log 2>&1",

0 commit comments

Comments
 (0)