CakeDC\Users\Test\TestCase\Model\Behavior\PasswordBehaviorTest::testResetTokenUserNotActive PHP Method

testResetTokenUserNotActive() public method

Test resetToken
    public function testResetTokenUserNotActive()
    {
        $user = TableRegistry::get('CakeDC/Users.Users')->findByUsername('user-1')->first();
        $this->Behavior->resetToken('user-1', ['ensureActive' => true, 'expiration' => 3600]);
    }