fixed errors reported by smoke tests
This commit is contained in:
parent
689eb47e10
commit
de20e89c98
3 changed files with 6 additions and 6 deletions
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