Skip to content

Commit

Permalink
style: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
chijioke-ibekwe committed Mar 12, 2024
1 parent 93553ed commit d151a0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Listeners/RavenListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct()
*/
public function handle(Raven $event): void
{
$data = $event->notificationData;
$data = $event->scroll;
$context_name = $data->getContextName();

$context = NotificationContext::where('name', $context_name)->first();
Expand Down
4 changes: 2 additions & 2 deletions tests/Utilities/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class UserFactory extends Factory
public function definition(): array
{
return [
'name' => fake()->name(),
'email' => fake()->unique()->safeEmail(),
'name' => $this->faker->name(),
'email' => $this->faker->email,
'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
'remember_token' => Str::random(10),
Expand Down

0 comments on commit d151a0d

Please sign in to comment.