From de20e89c981e4c96a2bf8ee6bd3405e8fa29145b Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sat, 25 Mar 2006 19:50:46 +0000 Subject: [PATCH] fixed errors reported by smoke tests --- lib/WebGUI/i18n/English/AuthLDAP.pm | 2 +- lib/WebGUI/i18n/English/AuthWebGUI.pm | 2 +- t/User.t | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/WebGUI/i18n/English/AuthLDAP.pm b/lib/WebGUI/i18n/English/AuthLDAP.pm index 9d857faf6..013806771 100644 --- a/lib/WebGUI/i18n/English/AuthLDAP.pm +++ b/lib/WebGUI/i18n/English/AuthLDAP.pm @@ -167,7 +167,7 @@ Internationalized text label for the karma form value.

account.options
-Links list of options which allow users to turn on Admin, view and edit profile, view the messageLog, etc. +Links list of options which allow users to turn on Admin, view and edit profile, view the inbox, etc.

displayTitle
diff --git a/lib/WebGUI/i18n/English/AuthWebGUI.pm b/lib/WebGUI/i18n/English/AuthWebGUI.pm index 93866a1af..49818515c 100644 --- a/lib/WebGUI/i18n/English/AuthWebGUI.pm +++ b/lib/WebGUI/i18n/English/AuthWebGUI.pm @@ -209,7 +209,7 @@ our $I18N = {

account.form.header
The required form elements that go at the top of the display account page.

account.form.footer
The required form elements that go after the display account page form.

account.form.karma
A read only form property displaying the amount of karma a user has. Karma is a configurable user setting that is turned off by default

account.form.karma.label
Internationalized text label for the karma form value -

account.form.submit
The default submit button for the display account form.

account.options
Links list of options which allow users to turn on Admin, view and edit profile, view the messageLog, etc.

displayTitle
Page title +

account.form.submit
The default submit button for the display account form.

account.options
Links list of options which allow users to turn on Admin, view and edit profile, view the inbox, etc.

displayTitle
Page title

account.message
Any message returned by the system. Usually displays after the form is submitted.

account.form.username
Default username form field

account.form.username.label
Default text for username form field

account.form.password
Default password form field

account.form.password.label
Default text for password form field

account.form.passwordConfirm
Default password confirm form field

account.form.passwordConfirm.label
Default text for password confirm form field

account.noform
Indicates whether or not the display account form has any visible fields

account.nofields
Default display in the case that there are no form elements to display

|, lastUpdated => 1101772016 }, diff --git a/t/User.t b/t/User.t index bbb40abde..0dac3dbeb 100644 --- a/t/User.t +++ b/t/User.t @@ -128,8 +128,8 @@ is($count, '0', 'delete() -- users table'); ($count) = $session->db->quickArray("select count(*) from userProfileData where userId=?",[$userId]); is($count, '0', 'delete() -- userProfileData table'); -($count) = $session->db->quickArray("select count(*) from messageLog where userId=?",[$userId]); -is($count, '0', 'delete() -- messageLog table'); +($count) = $session->db->quickArray("select count(*) from inbox where userId=?",[$userId]); +is($count, '0', 'delete() -- inbox table'); #Let's test new with an override uid $user = WebGUI::User->new($session, "new", "ROYSUNIQUEUSERID000001"); @@ -200,8 +200,8 @@ is($count, '0', 'delete() -- users table'); ($count) = $session->db->quickArray("select count(*) from userProfileData where userId=".$session->db->quote($userId)); is($count, '0', 'delete() -- userProfileData table'); -($count) = $session->db->quickArray("select count(*) from messageLog where userId=".$session->db->quote($userId)); -is($count, '0', 'delete() -- messageLog table'); +($count) = $session->db->quickArray("select count(*) from inbox where userId=".$session->db->quote($userId)); +is($count, '0', 'delete() -- inbox table'); ok(WebGUI::User->validUserId($session, 1), 'Visitor has a valid userId');