Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit tests fail with 2.6.1 #45

Closed
ghost opened this issue Jun 12, 2022 · 1 comment
Closed

unit tests fail with 2.6.1 #45

ghost opened this issue Jun 12, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 12, 2022

They still work with 2.6.0.

Possibly related to #44.

$ vendor/bin/phpunit --verbose
PHPUnit 9.5.20 #StandWithUkraine

Runtime:       PHP 8.1.6
Configuration: /home/X/Projects/constant_time_encoding/phpunit.xml.dist

.E.....E..........................................                50 / 50 (100%)

Time: 00:01.520, Memory: 12.00 MB

There were 2 errors:

1) ParagonIE\ConstantTime\Tests\Base32HexTest::testDecodeNoPadding
Uninitialized string offset 8

/home/X/Projects/constant_time_encoding/src/Base32.php:200
/home/X/Projects/constant_time_encoding/tests/Base32HexTest.php:59

2) ParagonIE\ConstantTime\Tests\Base32Test::testDecodeNoPadding
Uninitialized string offset 8

/home/X/Projects/constant_time_encoding/src/Base32.php:200
/home/X/Projects/constant_time_encoding/tests/Base32Test.php:80

ERRORS!
Tests: 50, Assertions: 49865, Errors: 2.
@paragonie-security
Copy link
Contributor

Fixed in v2.6.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant