mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 18:54:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			676 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			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);
 | |
|     }
 | |
| 
 | |
| }
 |