splitted user name

This commit is contained in:
Čarodej
2022-01-14 11:17:00 +01:00
parent 7e9e9ee25b
commit 7dd116a769
45 changed files with 272 additions and 95 deletions

View File

@@ -18,6 +18,7 @@ class UserAccountTest extends TestCase
public function it_generate_and_store_user()
{
$user = User::factory()
->hasSettings()
->create(['role' => 'user']);
$this->assertDatabaseHas('users', [
@@ -65,6 +66,7 @@ class UserAccountTest extends TestCase
public function it_change_user_password_in_profile_settings()
{
$user = User::factory()
->hasSettings()
->create();
$this
@@ -84,6 +86,7 @@ class UserAccountTest extends TestCase
public function it_update_user_settings()
{
$user = User::factory()
->hasSettings()
->create();
$this
@@ -104,6 +107,7 @@ class UserAccountTest extends TestCase
public function it_update_user_avatar()
{
$user = User::factory()
->hasSettings()
->create();
$avatar = UploadedFile::fake()
@@ -128,6 +132,7 @@ class UserAccountTest extends TestCase
public function it_get_user_data()
{
$user = User::factory()
->hasSettings()
->create();
$this