diff options
author | Oliver Tappe | 2007-12-26 20:51:04 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-12-26 20:51:04 +0100 |
commit | 42621e44ef097d5c6538c252904a2d7916d9075d (patch) | |
tree | 7bf5a172d2f8aeba02e3307e04a1018ce9ebb296 /config-db | |
parent | Now really the newest Version (available in Gutsy and Hardy of Ubuntu) of ddc... (diff) | |
download | core-42621e44ef097d5c6538c252904a2d7916d9075d.tar.gz core-42621e44ef097d5c6538c252904a2d7916d9075d.tar.xz core-42621e44ef097d5c6538c252904a2d7916d9075d.zip |
* fixed two warnings caused by typos
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1433 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rw-r--r-- | config-db/t/13-client.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config-db/t/13-client.t b/config-db/t/13-client.t index ff41e49b..70ed569c 100644 --- a/config-db/t/13-client.t +++ b/config-db/t/13-client.t @@ -131,7 +131,7 @@ ok( ); is(@clients1And3, 2, 'should have got 2 clients'); # now sort by ID and check if we have really got 1 and 3 -@clients1And2 = sort { $a->{id} cmp $b->{id} } @clients1And3; +@clients1And3 = sort { $a->{id} cmp $b->{id} } @clients1And3; is($clients1And3[0]->{id}, 1, 'first id should be 1'); is($clients1And3[1]->{id}, 3, 'second id should be 3'); @@ -147,7 +147,7 @@ is($client3, undef, 'should not get cli-nr-3'); # try to fetch multiple occurrences of the same client, combined with # some unknown IDs ok( - my @clients1And3 = $configDB->fetchClientByID([ 1, 21, 4-1, 1, 4, 1, 1 ]), + @clients1And3 = $configDB->fetchClientByID([ 1, 21, 4-1, 1, 4, 1, 1 ]), 'fetch a complex set of clients by ID' ); is(@clients1And3, 2, 'should have got 2 clients'); |