diff --git a/extensions/suspend/tests/integration/api/users/SuspendUserTest.php b/extensions/suspend/tests/integration/api/users/SuspendUserTest.php index 86fd8f16d0..3cf84a05a2 100644 --- a/extensions/suspend/tests/integration/api/users/SuspendUserTest.php +++ b/extensions/suspend/tests/integration/api/users/SuspendUserTest.php @@ -50,7 +50,7 @@ public function can_suspend_user_if_allowed(?int $authenticatedAs, int $targetUs { $response = $this->sendSuspensionRequest($authenticatedAs, $targetUserId); - $this->assertEquals(200, $response->getStatusCode()); + $this->assertEquals(200, $response->getStatusCode(), $response->getBody()->getContents()); } /** diff --git a/framework/core/views/email/plain/information/base.blade.php b/framework/core/views/email/plain/information/base.blade.php index bec65b6e8f..794995f269 100644 --- a/framework/core/views/email/plain/information/base.blade.php +++ b/framework/core/views/email/plain/information/base.blade.php @@ -5,7 +5,7 @@ @endsection @section('content') -{{ $infoContent }} +{{ $infoContent ?? '' }} @endsection @section('footer')