mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			939 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			939 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * ChartBillControllerTest.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:57.
 | |
|  */
 | |
| class ChartBillControllerTest extends TestCase
 | |
| {
 | |
| 
 | |
|     /**
 | |
|      * @covers FireflyIII\Http\Controllers\Chart\BillController::frontpage
 | |
|      * @covers FireflyIII\Http\Controllers\Chart\BillController::__construct
 | |
|      */
 | |
|     public function testFrontpage()
 | |
|     {
 | |
|         $this->be($this->user());
 | |
|         $this->call('GET', '/chart/bill/frontpage');
 | |
| 
 | |
|         $this->assertResponseStatus(200);
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * @covers FireflyIII\Http\Controllers\Chart\BillController::single
 | |
|      */
 | |
|     public function testSingle()
 | |
|     {
 | |
|         $this->be($this->user());
 | |
|         $this->call('GET', '/chart/bill/1');
 | |
| 
 | |
|         $this->assertResponseStatus(200);
 | |
|     }
 | |
| }
 |