mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-20 11:48:27 -06:00
28 lines
701 B
PHP
28 lines
701 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',
|
|
];
|
|
$response = $this->call('POST', '/password/email', $args);
|
|
$this->assertEquals(302, $response->status());
|
|
}
|
|
|
|
}
|