-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
Due to sebastianbergmann/phpunit#3459 it was looking for a wrong function name and was skipping the test even when PHP support was present. Change-Id: I2508f192a76275286e95bd6a06e4628d98b11737
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,17 @@ | |
* @covers Pbkdf2Password | ||
* @covers Password | ||
* @covers ParameterizedPassword | ||
* @requires function hash_pbkdf2 | ||
*/ | ||
class Pbkdf2PasswordTest extends PasswordTestCase { | ||
public function setUp() { | ||
parent::setUp(); | ||
// Can't be done with annotations due to | ||
// https://github.com/sebastianbergmann/phpunit/issues/3459 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
MaxSem
Author
Contributor
|
||
if ( !function_exists( 'hash_pbkdf2' ) ) { | ||
$this->markTestSkipped( 'function hash_pbkdf2 is required' ); | ||
} | ||
} | ||
|
||
protected function getTypeConfigs() { | ||
return [ 'pbkdf2' => [ | ||
'class' => Pbkdf2Password::class, | ||
|
This bug has been fixed in PHPUnit version 7.5.2