Merge pull request #703 from batuhawk/master

Dashboard Test Added
This commit is contained in:
Denis Duliçi 2018-12-27 15:30:48 +03:00 committed by GitHub
commit 4d3be4c295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,16 @@
<?php
namespace Tests\Feature\Common;
use Tests\Feature\FeatureTestCase;
class DashboardTest extends FeatureTestCase
{
public function testItShouldSeeDashboard()
{
$this->loginAs()
->get(url('/'))
->assertStatus(200)
->assertSeeText(trans('general.dashboard'));
}
}