summaryrefslogtreecommitdiffstats
path: root/config-db/t/15-global_info.t
diff options
context:
space:
mode:
authorOliver Tappe2008-03-20 01:04:16 +0100
committerOliver Tappe2008-03-20 01:04:16 +0100
commita0ce0340d0f95514008cfac751fe58748bbadd88 (patch)
tree844bb9e015f2fbcd83de54c3a63dd027b1218211 /config-db/t/15-global_info.t
parent* fixed several bugs with respect to the listing of plugins (as part of a system (diff)
downloadcore-a0ce0340d0f95514008cfac751fe58748bbadd88.tar.gz
core-a0ce0340d0f95514008cfac751fe58748bbadd88.tar.xz
core-a0ce0340d0f95514008cfac751fe58748bbadd88.zip
* Switched indent used in Perl-code and settings files from tabs to 4 spaces.
May need some manual corrections here and there, but should basically be ok. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1658 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/t/15-global_info.t')
-rw-r--r--config-db/t/15-global_info.t18
1 files changed, 9 insertions, 9 deletions
diff --git a/config-db/t/15-global_info.t b/config-db/t/15-global_info.t
index 628b2495..8f2f8cf1 100644
--- a/config-db/t/15-global_info.t
+++ b/config-db/t/15-global_info.t
@@ -13,30 +13,30 @@ $configDB->connect();
# fetch global-info 'next-nbd-server-port'
ok(
- my $globalInfo = $configDB->fetchGlobalInfo('next-nbd-server-port'),
- 'fetch global-info'
+ my $globalInfo = $configDB->fetchGlobalInfo('next-nbd-server-port'),
+ 'fetch global-info'
);
is($globalInfo, '5000', 'global-info - value');
# try to fetch a couple of non-existing global-infos
is(
- $configDB->fetchGlobalInfo(-1), undef,
- 'global-info with id -1 should not exist'
+ $configDB->fetchGlobalInfo(-1), undef,
+ 'global-info with id -1 should not exist'
);
is($configDB->fetchGlobalInfo('xxx'), undef,
- 'global-info with id xxx should not exist');
+ 'global-info with id xxx should not exist');
# change value of global-info and then fetch and check the new value
ok($configDB->changeGlobalInfo('next-nbd-server-port', '5050'), 'changing global-info');
is(
- $configDB->fetchGlobalInfo('next-nbd-server-port'), '5050',
- 'fetching changed global-info'
+ $configDB->fetchGlobalInfo('next-nbd-server-port'), '5050',
+ 'fetching changed global-info'
);
# changing a non-existing global-info should fail
ok(
- ! eval { $configDB->changeGlobalInfo('xxx', 'new-value') },
- 'changing unknown global-info should fail'
+ ! eval { $configDB->changeGlobalInfo('xxx', 'new-value') },
+ 'changing unknown global-info should fail'
);
$configDB->disconnect();