🔥 **Cleanup:** Removed BookCase and OrangePill models, factories, migrations, and related references. Added tests for new service and meetup creation flows. Updated PHPUnit settings and browser-specific configurations.

This commit is contained in:
BT
2026-05-02 22:00:26 +01:00
parent 63aed880e1
commit 04e3e30fcf
54 changed files with 3440 additions and 298 deletions
@@ -0,0 +1,26 @@
<?php
use App\Livewire\Actions\Logout;
it('logs the authenticated user out and redirects to /', function () {
actingAsUser();
expect(auth()->check())->toBeTrue();
$response = (new Logout)();
expect($response->getTargetUrl())->toBe(url('/'));
expect(auth()->check())->toBeFalse();
});
it('still produces a redirect when invoked without an authenticated session', function () {
$response = (new Logout)();
expect($response->getTargetUrl())->toBe(url('/'));
});
it('is registered for the POST /logout route', function () {
actingAsUser();
$this->post('/logout')->assertRedirect('/');
});