frontend\tests\unit\models\PasswordResetRequestFormTest::testNotSendEmailsToInactiveUser PHP Method

testNotSendEmailsToInactiveUser() public method

    public function testNotSendEmailsToInactiveUser()
    {
        $user = $this->tester->grabFixture('user', 1);
        $model = new PasswordResetRequestForm();
        $model->email = $user['email'];
        expect_not($model->sendEmail());
    }