mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-05-05 04:54:53 +00:00
🔥 **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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user