From da567e0a73d07cb8bedd3fd236261cd2919fe6ec Mon Sep 17 00:00:00 2001
From: philipp lang <philipp@aweos.de>
Date: Tue, 24 Dec 2024 17:33:55 +0100
Subject: [PATCH] Fix form tests

---
 modules/Form/Components/FormSettingViewTest.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/Form/Components/FormSettingViewTest.php b/modules/Form/Components/FormSettingViewTest.php
index 41428d0e..e5ce3636 100644
--- a/modules/Form/Components/FormSettingViewTest.php
+++ b/modules/Form/Components/FormSettingViewTest.php
@@ -20,7 +20,7 @@ it('it displays active modules', function () {
     test()->withoutExceptionHandling()->login()->loginNami();
     app(FormSettings::class)->fill(['registerUrl' => 'http://example.com/register', 'clearCacheUrl' => 'http://example.com/clear-cache'])->save();
 
-    Livewire::test(SettingView::class)
+    Livewire::test(FormSettingView::class)
         ->assertSee('Einstellungen für Anmeldeformulare')
         ->assertSee('Formular-Link')
         ->assertSet('registerUrl', 'http://example.com/register')
@@ -31,7 +31,7 @@ it('it displays active modules', function () {
 it('it saves settings', function () {
     test()->withoutExceptionHandling()->login()->loginNami();
 
-    Livewire::test(SettingView::class)
+    Livewire::test(FormSettingView::class)
         ->set('clearCacheUrl', 'http://example.com/clear')
         ->set('registerUrl', 'http://example.com/register')
         ->call('save')