summaryrefslogtreecommitdiffstats
path: root/config-db/t/11-export.t
diff options
context:
space:
mode:
Diffstat (limited to 'config-db/t/11-export.t')
-rw-r--r--config-db/t/11-export.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/config-db/t/11-export.t b/config-db/t/11-export.t
index 96fad00b..0cdc688c 100644
--- a/config-db/t/11-export.t
+++ b/config-db/t/11-export.t
@@ -1,5 +1,8 @@
use Test::More qw(no_plan);
+use strict;
+use warnings;
+
use lib '/opt/openslx/lib';
# basic init
@@ -223,6 +226,9 @@ ok(
is($export1->{id}, 1, 'really got export number 1');
is($export1->{name}, q{EXP-'1'}, q{really got export named "EXP-'1'"});
+# changing nothing at all should succeed
+ok($configDB->changeExport(1), 'changing nothing at all in export 1');
+
# changing a non-existing column should fail
ok(
! eval { $configDB->changeExport(1, { xname => "xx" }) },