[Rt-commit] r5924 - in rtir/branches/2.1-EXPERIMENTAL: .
schwern at bestpractical.com
schwern at bestpractical.com
Wed Sep 13 00:58:58 EDT 2006
Author: schwern
Date: Wed Sep 13 00:58:56 2006
New Revision: 5924
Modified:
rtir/branches/2.1-EXPERIMENTAL/ (props changed)
rtir/branches/2.1-EXPERIMENTAL/t/rtir-test.pl
Log:
r18111 at Master-Windhund-IV: schwern | 2006-09-13 00:57:30 -0400
If we find an existing rtir_test_user, make sure its not disabled and has privileges.
Modified: rtir/branches/2.1-EXPERIMENTAL/t/rtir-test.pl
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/t/rtir-test.pl (original)
+++ rtir/branches/2.1-EXPERIMENTAL/t/rtir-test.pl Wed Sep 13 00:58:56 2006
@@ -113,6 +113,8 @@
my $user_obj = rtir_user();
if ($user_obj->Id) {
+ $user_obj->SetDisabled(0);
+ $user_obj->SetPrivileged(1);
$user_obj->SetPassword($RTIR_TEST_PASS);
} else {
$user_obj->Create(Name => $RTIR_TEST_USER,
More information about the Rt-commit
mailing list