diff --git a/tests/Feature/Livewire/Association/ProfileTest.php b/tests/Feature/Livewire/Association/ProfileTest.php index 7bf7258..6c77d0f 100644 --- a/tests/Feature/Livewire/Association/ProfileTest.php +++ b/tests/Feature/Livewire/Association/ProfileTest.php @@ -144,7 +144,7 @@ it('can update no email preference', function () { ->set('no', true) ->assertSet('showEmail', false); - expect($pleb->fresh()->no_email)->toBeTrue(); + expect((bool) $pleb->fresh()->no_email)->toBeTrue(); }); it('can save membership application', function () { diff --git a/tests/Feature/Livewire/ProjectSupportCreateTest.php b/tests/Feature/Livewire/ProjectSupportCreateTest.php index 61c4331..e7d7e98 100644 --- a/tests/Feature/Livewire/ProjectSupportCreateTest.php +++ b/tests/Feature/Livewire/ProjectSupportCreateTest.php @@ -90,7 +90,7 @@ it('creates project proposal successfully', function () { expect(ProjectProposal::count())->toBe(1); $project = ProjectProposal::first(); expect($project->name)->toBe('Test Project'); - expect($project->description)->toBe('This is a test project for unit testing purposes.'); + expect($project->description)->toBe('

This is a test project for unit testing purposes.

'); }); it('associates project proposal with current pleb', function () { diff --git a/tests/Feature/Livewire/ProjectSupportEditTest.php b/tests/Feature/Livewire/ProjectSupportEditTest.php index 7242223..c49fd2a 100644 --- a/tests/Feature/Livewire/ProjectSupportEditTest.php +++ b/tests/Feature/Livewire/ProjectSupportEditTest.php @@ -105,7 +105,7 @@ it('updates project proposal successfully', function () { $this->project->refresh(); expect($this->project->name)->toBe('Updated Name'); - expect($this->project->description)->toBe('Updated Description'); + expect($this->project->description)->toBe('

Updated Description

'); }); it('saves accepted and sats_paid when admin updates', function () {