Browse Source

Bug 17845: (RM follow-up) Restore a removed test

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
20.05.x
Martin Renvoize 1 year ago
parent
commit
6653a24148
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 1
      t/Token.t

1
t/Token.t

@ -67,6 +67,7 @@ subtest 'Same id (cookie CGISESSID) with an other logged in user' => sub {
$result = $tokenizer->check_csrf({
session_id => $id, token => $csrftoken,
});
is( $result, 1, "CSRF token verified" );
C4::Context->set_userenv(0,43,0,'firstname','surname', 'CPL', 'Library 1', 0, '');
$result = $tokenizer->check_csrf({
session_id => $id, token => $csrftoken,

Loading…
Cancel
Save