| 
									
										
										
										
											2016-01-20 06:20:09 +01:00
										 |  |  | <?php | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * HelpControllerTest.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:39:28. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | class HelpControllerTest extends TestCase | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * @covers FireflyIII\Http\Controllers\HelpController::show | 
					
						
							| 
									
										
										
										
											2016-02-04 07:30:48 +01:00
										 |  |  |      * @covers FireflyIII\Http\Controllers\HelpController::__construct | 
					
						
							| 
									
										
										
										
											2016-01-20 06:20:09 +01:00
										 |  |  |      */ | 
					
						
							|  |  |  |     public function testShow() | 
					
						
							|  |  |  |     { | 
					
						
							| 
									
										
										
										
											2016-01-23 16:48:34 +01:00
										 |  |  |         $this->be($this->user()); | 
					
						
							| 
									
										
										
										
											2016-01-24 18:11:57 +01:00
										 |  |  |         $this->call('GET', '/help/index'); | 
					
						
							| 
									
										
										
										
											2016-01-23 16:48:34 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-24 18:11:57 +01:00
										 |  |  |         $this->assertResponseStatus(200); | 
					
						
							| 
									
										
										
										
											2016-01-23 16:48:34 +01:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * @covers FireflyIII\Http\Controllers\HelpController::show | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function testShowNoRoute() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         $this->be($this->user()); | 
					
						
							| 
									
										
										
										
											2016-01-24 18:11:57 +01:00
										 |  |  |         $this->call('GET', '/help/indxxex'); | 
					
						
							| 
									
										
										
										
											2016-01-23 16:48:34 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-24 18:11:57 +01:00
										 |  |  |         $this->assertResponseStatus(200); | 
					
						
							| 
									
										
										
										
											2016-01-20 06:20:09 +01:00
										 |  |  |     } | 
					
						
							|  |  |  | } |