diff options
Diffstat (limited to 'config-db/t/20-client_system_ref.t')
-rw-r--r-- | config-db/t/20-client_system_ref.t | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config-db/t/20-client_system_ref.t b/config-db/t/20-client_system_ref.t index 646050e3..46e56ddf 100644 --- a/config-db/t/20-client_system_ref.t +++ b/config-db/t/20-client_system_ref.t @@ -1,5 +1,8 @@ use Test::More qw(no_plan); +use strict; +use warnings; + use lib '/opt/openslx/lib'; # basic init @@ -40,7 +43,7 @@ ok( 'system-ID 3 has been associated to client 1' ); is( - @systemIDs = sort($configDB->fetchSystemIDsOfClient(0)), + my @systemIDs = sort($configDB->fetchSystemIDsOfClient(0)), 0, "default client should have no system-ID" ); is( @@ -53,7 +56,7 @@ is( 0, "client 3 should have no system-ID" ); is( - @clientIDs = sort($configDB->fetchClientIDsOfSystem(0)), + my @clientIDs = sort($configDB->fetchClientIDsOfSystem(0)), 0, "default system should have no client-IDs" ); is( |