akaunting/tests/Feature/Common/DashboardTest.php

17 lines
335 B
PHP
Raw Normal View History

2018-12-27 12:48:02 +03:00
<?php
namespace Tests\Feature\Common;
use Tests\Feature\FeatureTestCase;
class DashboardTest extends FeatureTestCase
{
public function testItShouldSeeDashboard()
{
$this->loginAs()
2019-11-17 15:06:00 +03:00
->get(route('dashboard'))
2018-12-27 12:48:02 +03:00
->assertStatus(200)
->assertSeeText(trans('general.dashboard'));
}
2019-04-02 18:51:06 +03:00
}