firefly-iii/tests/acceptance/Controllers/Auth/PasswordControllerTest.php

28 lines
676 B
PHP
Raw Normal View History

2016-01-19 23:20:09 -06:00
<?php
/**
* PasswordControllerTest.php
* Copyright (C) 2016 Sander Dorigo
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-01-19 at 15:40:28.
*/
class PasswordControllerTest extends TestCase
{
/**
* @covers FireflyIII\Http\Controllers\Auth\PasswordController::sendResetLinkEmail
*/
public function testSendResetLinkEmail()
{
2016-01-20 02:15:33 -06:00
$args = [
'email' => 'thegrumpydictator@gmail.com',
];
2016-01-24 11:11:57 -06:00
$this->call('POST', '/password/email', $args);
$this->assertResponseStatus(302);
2016-01-19 23:20:09 -06:00
}
}