mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-29 23:54:05 +08:00
Applied latest styleci changes
This commit is contained in:
parent
033b163675
commit
9d15688a43
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user