From 42621e44ef097d5c6538c252904a2d7916d9075d Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 26 Dec 2007 19:51:04 +0000 Subject: * fixed two warnings caused by typos git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1433 95ad53e4-c205-0410-b2fa-d234c58c8868 --- config-db/t/13-client.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config-db') 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'); -- cgit v1.2.3-55-g7522