remove MIME::Base64::URLSafe as they do it reversely

This commit is contained in:
Doug Bell 2011-01-13 15:00:50 -06:00
parent adcec8353a
commit bcb14eaa61
2 changed files with 9 additions and 4 deletions

View file

@ -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');