Add about test

This commit is contained in:
mzhubail
2024-08-21 10:50:06 +03:00
parent cb724145f2
commit edf2030251
2 changed files with 87 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ declare(strict_types=1);
namespace Tests\integration;
use FireflyIII\User;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Tests\integration\Traits\CollectsValues;
@@ -48,4 +49,12 @@ abstract class TestCase extends BaseTestCase
'custom range' => ['custom'],
];
}
protected function createAuthenticatedUser(): User
{
return User::create([
'email' => 'test@email.com',
'password' => 'password',
]);
}
}