fixed errors reported by smoke tests
This commit is contained in:
parent
689eb47e10
commit
de20e89c98
3 changed files with 6 additions and 6 deletions
|
|
@ -167,7 +167,7 @@ Internationalized text label for the karma form value.
|
|||
|
||||
<P>
|
||||
<B>account.options</B><BR>
|
||||
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.
|
||||
|
||||
<P>
|
||||
<B>displayTitle</B><BR>
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ our $I18N = {
|
|||
<P><STRONG>account.form.header</STRONG><BR>The required form elements that go at the top of the display account page.<BR><BR><STRONG>account.form.footer</STRONG><BR>The required form elements that go after the display account page form. </P>
|
||||
<P><STRONG>account.form.karma</STRONG><BR>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
|
||||
<P><STRONG>account.form.karma.label</STRONG><BR>Internationalized text label for the karma form value
|
||||
<P><STRONG>account.form.submit<BR></STRONG>The default submit button for the display account form. <BR><BR><STRONG>account.options</STRONG><BR>Links list of options which allow users to turn on Admin, view and edit profile, view the messageLog, etc. <BR><BR><STRONG>displayTitle<BR></STRONG>Page title
|
||||
<P><STRONG>account.form.submit<BR></STRONG>The default submit button for the display account form. <BR><BR><STRONG>account.options</STRONG><BR>Links list of options which allow users to turn on Admin, view and edit profile, view the inbox, etc. <BR><BR><STRONG>displayTitle<BR></STRONG>Page title
|
||||
<P><STRONG>account.message</STRONG><BR>Any message returned by the system. Usually displays after the form is submitted.<BR><BR><STRONG>account.form.username</STRONG><BR>Default username form field<BR><BR><STRONG>account.form.username.label</STRONG><BR>Default text for username form field<BR><BR><STRONG>account.form.password<BR></STRONG>Default password form field<BR><BR><STRONG>account.form.password.label<BR></STRONG>Default text for password form field<BR><BR><STRONG>account.form.passwordConfirm</STRONG><BR>Default password confirm form field<BR><BR><STRONG>account.form.passwordConfirm.label<BR></STRONG>Default text for password confirm form field<BR><BR><STRONG>account.noform</STRONG><BR>Indicates whether or not the display account form has any visible fields<BR><BR><STRONG>account.nofields<BR></STRONG>Default display in the case that there are no form elements to display</P>|,
|
||||
lastUpdated => 1101772016
|
||||
},
|
||||
|
|
|
|||
8
t/User.t
8
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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue