Skip to content

A free open source IT asset/license management system

Remove assertion

Marcus Moorea470ba76dfe0
diff --git a/tests/Feature/Settings/ShowSetUpPageTest.php b/tests/Feature/Settings/ShowSetUpPageTest.php
index 134a892af2..1c5a4cdee4 100644
--- a/tests/Feature/Settings/ShowSetUpPageTest.php
+++ b/tests/Feature/Settings/ShowSetUpPageTest.php
@@ -223,18 +223,9 @@ class ShowSetUpPageTest extends TestCase
Http::fake([URL::to('.env') => fn () => throw new ConnectionException('Some curl error message.')]);
- Log::setEventDispatcher(Event::fake());
-
$this->getSetUpPageResponse()->assertOk();
$this->assertSeeDotEnvFileExposedErrorMessage();
-
- Event::assertDispatched(function (MessageLogged $event) {
- $this->assertEquals('debug', $event->level);
- $this->assertEquals('Some curl error message.', $event->message);
-
- return true;
- });
}
public function test_will_show_error_message_when_app_url_is_not_same_with_page_url(): void