Bug 24850: suspended_until is a date-time
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 3 Nov 2021 09:55:19 +0000 (06:55 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Nov 2021 14:40:52 +0000 (15:40 +0100)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/api/v1/holds.t

index 22e9f3e..006c616 100755 (executable)
@@ -163,7 +163,7 @@ my $post_data = {
 };
 my $patch_data = {
     priority        => 2,
-    suspended_until => output_pref( { dt => $suspended_until, dateformat => 'iso', dateonly => 1 } ),
+    suspended_until => output_pref( { dt => $suspended_until, dateformat => 'rfc3339' } ),
 };
 
 subtest "Test endpoints without authentication" => sub {