remove MIME::Base64::URLSafe as they do it reversely
This commit is contained in:
parent
adcec8353a
commit
bcb14eaa61
2 changed files with 9 additions and 4 deletions
|
|
@ -81,6 +81,7 @@ foreach my $testSet (@testSets) {
|
|||
|
||||
is($session->id->toHex('wjabZsKOb7kBBSiO3bQwzA'), 'c2369b66c28e6fb90105288eddb430cc', 'toHex works');
|
||||
is($session->id->fromHex('c2369b66c28e6fb90105288eddb430cc'), 'wjabZsKOb7kBBSiO3bQwzA', 'fromHex works');
|
||||
is( $session->id->toHex('EhTwB4FAnLZPn-ftde39aA'), '1214f00781409cb64f9ff7ed75edfd68', 'toHex with -' );
|
||||
|
||||
my $re = $session->id->getValidator;
|
||||
is( ref $re, 'Regexp', 'getValidator returns a regexp object');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue