Skip to content

Commit 6e8eb32

Browse files
authored
removed unused code
1 parent d7cd43f commit 6e8eb32

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

stubs/tests/TestCase.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,6 @@ protected function prepareUser($role): User
4444
{
4545
$user = User::factory()->create();
4646

47-
//generate image
48-
$name = get_initials($user->name);
49-
$id = 'test-user.png';
50-
$path = 'users/';
51-
$imagePath = 'some/image/path.jpg';//create_avatar($name, $id, $path);
52-
53-
//save imagel
54-
$user->image = $imagePath;
55-
$user->save();
56-
5747
$createdRole = Role::create([
5848
'name' => $role,
5949
'label' => ucwords($role)

0 commit comments

Comments
 (0)