amended test to include a recurring period

This commit is contained in:
Finn 2018-03-07 12:50:36 +00:00
parent a7f2f7576e
commit f5122630ea

View file

@ -425,6 +425,7 @@ $json = {
purchase_time => $test_purchase_time, purchase_time => $test_purchase_time,
organisation_id => $unvalidatedOrganisationId, organisation_id => $unvalidatedOrganisationId,
session_key => $session_key, session_key => $session_key,
recurring_period => "daily",
}; };
$upload = {json => Mojo::JSON::encode_json($json), file => {file => './t/test.jpg'}}; $upload = {json => Mojo::JSON::encode_json($json), file => {file => './t/test.jpg'}};
$t->post_ok('/api/upload' => form => $upload ) $t->post_ok('/api/upload' => form => $upload )