Update User.t to work with CSRF tokens.
This commit is contained in:
parent
2a966c79e9
commit
f3bc650502
1 changed files with 1 additions and 2 deletions
3
t/User.t
3
t/User.t
|
|
@ -93,7 +93,7 @@ ok(
|
|||
);
|
||||
|
||||
ok(
|
||||
!$session->db->quickScalar("SELECT COUNT(*) FROM userSessionScratch WHERE sessionId=?",[$session->getId]),
|
||||
!$session->db->quickScalar("SELECT COUNT(*) FROM userSessionScratch WHERE sessionId=?",[$newSession->getId]),
|
||||
"Deactivating user deletes all user session scratch",
|
||||
);
|
||||
|
||||
|
|
@ -1027,7 +1027,6 @@ $shopUser->delete;
|
|||
undef $book;
|
||||
eval { $book = WebGUI::Shop::AddressBook->new($session, $bookId); };
|
||||
my $e = Exception::Class->caught();
|
||||
diag ref $e;
|
||||
isa_ok($e, 'WebGUI::Error::ObjectNotFound', '... cleans up the address book');
|
||||
|
||||
END {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue