IndexTest.php 544 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Tests\Feature;
  3. use Tests\TestCase;
  4. use Illuminate\Foundation\Testing\WithFaker;
  5. use Illuminate\Foundation\Testing\RefreshDatabase;
  6. class IndexTest extends TestCase
  7. {
  8. /**
  9. * A basic feature test example.
  10. *
  11. * @return void
  12. */
  13. public function testExample()
  14. {
  15. $response = $this->get('/');
  16. $response->assertStatus(200);
  17. }
  18. public function testProfitPolygonalChart()
  19. {
  20. $response = $this->get('index/profitChart');
  21. $response->assertStatus(200);
  22. }
  23. }