mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix missing Context::init() in unit test for Password class
This commit is contained in:
parent
96330593fd
commit
c8cac3653f
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
class PasswordTest extends \Codeception\Test\Unit
|
class PasswordTest extends \Codeception\Test\Unit
|
||||||
{
|
{
|
||||||
|
public function _before()
|
||||||
|
{
|
||||||
|
\Context::init();
|
||||||
|
}
|
||||||
|
|
||||||
public function testIsValidAlgorithm()
|
public function testIsValidAlgorithm()
|
||||||
{
|
{
|
||||||
$this->assertTrue(Rhymix\Framework\Password::isValidAlgorithm('bcrypt'));
|
$this->assertTrue(Rhymix\Framework\Password::isValidAlgorithm('bcrypt'));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue