mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed asset maintenances test
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
f334bf1058
commit
66ed311914
|
@ -18,8 +18,6 @@ class LoginTest extends DuskTestCase
|
||||||
$this->browse(function (Browser $browser) {
|
$this->browse(function (Browser $browser) {
|
||||||
$browser->visitRoute('login')
|
$browser->visitRoute('login')
|
||||||
->assertSee(trans('auth/general.login_prompt'));
|
->assertSee(trans('auth/general.login_prompt'));
|
||||||
$browser->screenshot('filename');
|
|
||||||
$browser->storeSource('login');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$this->browse(function ($browser) {
|
$this->browse(function ($browser) {
|
||||||
|
|
|
@ -3,6 +3,7 @@ namespace Tests\Unit;
|
||||||
|
|
||||||
use App\Models\AssetMaintenance;
|
use App\Models\AssetMaintenance;
|
||||||
use Tests\Unit\BaseTest;
|
use Tests\Unit\BaseTest;
|
||||||
|
use Carbon\Carbon;
|
||||||
|
|
||||||
class AssetMaintenanceTest extends BaseTest
|
class AssetMaintenanceTest extends BaseTest
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue