Fix missing Context::init() in unit test for Password class

This commit is contained in:
Kijin Sung 2023-10-29 23:41:48 +09:00
parent 96330593fd
commit c8cac3653f

View file

@ -2,6 +2,11 @@
class PasswordTest extends \Codeception\Test\Unit
{
public function _before()
{
\Context::init();
}
public function testIsValidAlgorithm()
{
$this->assertTrue(Rhymix\Framework\Password::isValidAlgorithm('bcrypt'));