Applied latest styleci changes

This commit is contained in:
Dan Brown 2022-02-01 11:49:30 +00:00
parent 033b163675
commit 9d15688a43
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
4 changed files with 20 additions and 18 deletions
app/Console/Commands
tests/Auth

@ -101,6 +101,7 @@ class CreateAdmin extends Command
foreach ($this->options() as $key => $value) {
$returnOpts[str_replace('-', '_', $key)] = $value;
}
return $returnOpts;
}
}

@ -47,7 +47,7 @@ class UserInviteTest extends TestCase
'send_invite' => 'true',
'setting' => [
'language' => 'de',
]
],
]);
$resp->assertRedirect('/settings/users');
@ -55,6 +55,7 @@ class UserInviteTest extends TestCase
Notification::assertSentTo($newUser, UserInvite::class, function ($notification, $channels, $notifiable) {
/** @var MailMessage $mail */
$mail = $notification->toMail($notifiable);
return 'Du wurdest eingeladen BookStack beizutreten!' === $mail->subject &&
'Ein Konto wurde für Sie auf BookStack erstellt.' === $mail->greeting;
});