We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7cd43f commit 6e8eb32Copy full SHA for 6e8eb32
stubs/tests/TestCase.php
@@ -44,16 +44,6 @@ protected function prepareUser($role): User
44
{
45
$user = User::factory()->create();
46
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
57
$createdRole = Role::create([
58
'name' => $role,
59
'label' => ucwords($role)
0 commit comments