[otrs-cvs] otrs/scripts/test Auth.t,1.7,1.8
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/scripts/test
In directory lancelot:/tmp/cvs-serv31873/test
Modified Files:
Auth.t
Log Message:
Fixed wrong use of Set() in ConfigObject.
Author: mh
Index: Auth.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/Auth.t,v
retrieving revision 1.7
retrieving revision 1.8
diff -2 -u -d -r1.7 -r1.8
--- Auth.t 20 Nov 2012 16:05:13 -0000 1.7
+++ Auth.t 26 Nov 2012 16:19:24 -0000 1.8
@@ -23,9 +23,16 @@
# configure auth backend to db
-$ConfigObject->Set( 'AuthBackend', 'DB' );
+$ConfigObject->Set(
+ Key => 'AuthBackend',
+ Value => 'DB',
+);
# no additional auth backends
for my $Count ( 1 .. 10 ) {
- $ConfigObject->Set( "AuthBackend$Count", '' );
+
+ $ConfigObject->Set(
+ Key => "AuthBackend$Count",
+ Value => '',
+ );
}
@@ -38,5 +45,5 @@
my $TestUserID;
-my $UserRand1 = 'example-user' . int( rand(1000000) );
+my $UserRand1 = 'example-user' . int rand 1000000;
# add test user
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log