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

View File

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

View File

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