🔥 **Cleanup:** Removed obsolete .junie guideline files and MCP configuration.

 **Tests:** Added helper function `makeSignedNostrLoginEvent` for generating NIP-42 signed login events. Updated related tests in `Feature/Auth/NostrLoginTest.php` to use this helper.
🚀 **Livewire Testing:** Enhanced authorization checks and added specific creator-based mounts for `meetups.edit`. Improved tests for `MeetupMountTest` and `EditMeetupTest`.
🎨 **Style:** Standardized `request()->route()` to lowercase country codes across multiple Blade templates for consistency.
🛠️ **Config:** Updated `vite.config.js` formatting for improved readability in ignored paths.
This commit is contained in:
BT
2026-05-03 18:36:14 +02:00
parent cf330016a3
commit a4cbb10604
11 changed files with 116 additions and 523 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ it('rejects lecturer creation with invalid website URL', function () {
});
it('updates an existing lecturer', function () {
$lecturer = Lecturer::factory()->create(['name' => 'Old Name']);
actingAsUser();
$owner = actingAsUser();
$lecturer = Lecturer::factory()->create(['name' => 'Old Name', 'created_by' => $owner->id]);
Livewire::test('lecturers.edit', ['lecturer' => $lecturer])
->set('name', 'New Name')