Bug 24201: fix failing tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 10 Aug 2020 07:57:23 +0000 (09:57 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 10 Aug 2020 07:58:32 +0000 (09:58 +0200)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

t/Koha/Script.t
t/Koha/Script_cron.t

index c15432d..d04bbbc 100644 (file)
@@ -39,7 +39,9 @@ is_deeply(
         'emailaddress'  => undef,
         'number'        => undef,
         'shibboleth'    => undef,
-        'branch'        => undef
+        'branch'        => undef,
+        'desk_id'       => undef,
+        'desk_name'     => undef,
     },
     "Context userenv set correctly with no flags"
 );
index c5e7f95..b8c3b62 100644 (file)
@@ -36,7 +36,9 @@ is_deeply(
         'emailaddress'  => undef,
         'number'        => undef,
         'shibboleth'    => undef,
-        'branch'        => undef
+        'branch'        => undef,
+        'desk_id'       => undef,
+        'desk_name'     => undef,
     },
     "Context userenv set correctly with -cron"
 );