Report Tests Added

This commit is contained in:
Batuhan Baş
2018-12-27 12:22:32 +03:00
parent ed12662bfb
commit e85397b582
5 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<?php
namespace Tests\Feature\Reports;
use Tests\Feature\FeatureTestCase;
class IncomeSummaryTest extends FeatureTestCase
{
public function testItShouldSeeIncomeSummaryPage()
{
$this->loginAs()
->get(url('reports/income-summary'))
->assertStatus(200)
->assertSeeText(trans('reports.summary.income'));
}
}