summaryrefslogtreecommitdiffstats
path: root/config-db/t/21-group_system_ref.t
diff options
context:
space:
mode:
Diffstat (limited to 'config-db/t/21-group_system_ref.t')
-rw-r--r--config-db/t/21-group_system_ref.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/config-db/t/21-group_system_ref.t b/config-db/t/21-group_system_ref.t
index e9023feb..6f92a8dd 100644
--- a/config-db/t/21-group_system_ref.t
+++ b/config-db/t/21-group_system_ref.t
@@ -1,5 +1,8 @@
use Test::More qw(no_plan);
+use strict;
+use warnings;
+
use lib '/opt/openslx/lib';
# basic init
@@ -39,7 +42,7 @@ ok(
'system-ID 3 has been associated to group 1'
);
is(
- @systemIDs = sort($configDB->fetchSystemIDsOfGroup(1)),
+ my @systemIDs = sort($configDB->fetchSystemIDsOfGroup(1)),
1, "group 1 should have one system-ID"
);
is($systemIDs[0], 3, "first system of group 1 should have ID 3");
@@ -48,7 +51,7 @@ is(
0, "group 3 should have no system-ID"
);
is(
- @groupIDs = sort($configDB->fetchGroupIDsOfSystem(0)),
+ my @groupIDs = sort($configDB->fetchGroupIDsOfSystem(0)),
0, "default system should have no group-IDs"
);
is(