firefly-iii/tests/acceptance/Controllers/Auth/PasswordControllerTest.php
2016-01-24 18:11:57 +01:00

28 lines
676 B
PHP

<?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()
{
$args = [
'email' => 'thegrumpydictator@gmail.com',
];
$this->call('POST', '/password/email', $args);
$this->assertResponseStatus(302);
}
}