Report Tests Added
This commit is contained in:
parent
ed12662bfb
commit
e85397b582
16
tests/Feature/Reports/ExpenseSummaryTest.php
Normal file
16
tests/Feature/Reports/ExpenseSummaryTest.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\Feature\Reports;
|
||||||
|
|
||||||
|
use Tests\Feature\FeatureTestCase;
|
||||||
|
|
||||||
|
class ExpenseSummaryTest extends FeatureTestCase
|
||||||
|
{
|
||||||
|
public function testItShouldSeeExpenseSummaryPage()
|
||||||
|
{
|
||||||
|
$this->loginAs()
|
||||||
|
->get(url('reports/expense-summary'))
|
||||||
|
->assertStatus(200)
|
||||||
|
->assertSeeText(trans('reports.summary.expense'));
|
||||||
|
}
|
||||||
|
}
|
16
tests/Feature/Reports/IncomeExpenseSumaryTest.php
Normal file
16
tests/Feature/Reports/IncomeExpenseSumaryTest.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\Feature\Reports;
|
||||||
|
|
||||||
|
use Tests\Feature\FeatureTestCase;
|
||||||
|
|
||||||
|
class IncomeExpenseSummaryTest extends FeatureTestCase
|
||||||
|
{
|
||||||
|
public function testItShouldSeeIncomeExpenseSummaryPage()
|
||||||
|
{
|
||||||
|
$this->loginAs()
|
||||||
|
->get(url('reports/income-expense-summary'))
|
||||||
|
->assertStatus(200)
|
||||||
|
->assertSeeText(trans('reports.summary.income_expense'));
|
||||||
|
}
|
||||||
|
}
|
16
tests/Feature/Reports/IncomeSummaryTest.php
Normal file
16
tests/Feature/Reports/IncomeSummaryTest.php
Normal 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'));
|
||||||
|
}
|
||||||
|
}
|
16
tests/Feature/Reports/ProfitLossTest.php
Normal file
16
tests/Feature/Reports/ProfitLossTest.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\Feature\Reports;
|
||||||
|
|
||||||
|
use Tests\Feature\FeatureTestCase;
|
||||||
|
|
||||||
|
class ProfitLossTest extends FeatureTestCase
|
||||||
|
{
|
||||||
|
public function testItShouldSeeProfitLossPage()
|
||||||
|
{
|
||||||
|
$this->loginAs()
|
||||||
|
->get(url('reports/profit-loss'))
|
||||||
|
->assertStatus(200)
|
||||||
|
->assertSeeText(trans('reports.profit_loss'));
|
||||||
|
}
|
||||||
|
}
|
16
tests/Feature/Reports/TaxSummaryTest.php
Normal file
16
tests/Feature/Reports/TaxSummaryTest.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Tests\Feature\Reports;
|
||||||
|
|
||||||
|
use Tests\Feature\FeatureTestCase;
|
||||||
|
|
||||||
|
class TaxSummaryTest extends FeatureTestCase
|
||||||
|
{
|
||||||
|
public function testItShouldSeeTaxSummaryPage()
|
||||||
|
{
|
||||||
|
$this->loginAs()
|
||||||
|
->get(url('reports/tax-summary'))
|
||||||
|
->assertStatus(200)
|
||||||
|
->assertSeeText(trans('reports.summary.tax'));
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user