App\Functional\Api\V1\Controllers\ResetPasswordControllerTest::testResetSuccessfullyWithTokenRelease PHP Method

testResetSuccessfullyWithTokenRelease() public method

    public function testResetSuccessfullyWithTokenRelease()
    {
        Config::set('boilerplate.reset_password.release_token', true);
        $this->post('api/auth/reset', ['email' => '[email protected]', 'token' => 'my_super_secret_code', 'password' => 'mynewpass', 'password_confirmation' => 'mynewpass'])->seeJsonStructure(['status', 'token'])->seeJson(['status' => 'ok'])->assertResponseOk();
    }