From d6a1de8fb9826170d2dab3a89168fe6da073c71a Mon Sep 17 00:00:00 2001 From: philipp lang <philipp@aweos.de> Date: Fri, 28 Mar 2025 15:33:20 +0100 Subject: [PATCH] Remove comments --- .../Fileshare/Components/SettingViewTest.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/modules/Fileshare/Components/SettingViewTest.php b/modules/Fileshare/Components/SettingViewTest.php index ec671215..03245959 100644 --- a/modules/Fileshare/Components/SettingViewTest.php +++ b/modules/Fileshare/Components/SettingViewTest.php @@ -8,7 +8,6 @@ use Illuminate\Foundation\Testing\DatabaseTransactions; use Livewire\Livewire; use Modules\Fileshare\Components\SettingView; use Tests\FileshareTestCase; -use Tests\TestCase; uses(FileshareTestCase::class); uses(DatabaseTransactions::class); @@ -30,24 +29,6 @@ it('displays overview', function () { ->assertSee('lokaler Server') ->assertSee('Verbindung erfolgreich') ->assertSee('Owncloud'); - // ->assertJsonPath('data.0.name', 'lokaler Server') - // ->assertJsonPath('data.0.type', OwncloudConnection::class) - // ->assertJsonPath('data.0.config.user', 'badenpowell') - // ->assertJsonPath('data.0.config.password', 'secret') - // ->assertJsonPath('data.0.config.base_url', env('TEST_OWNCLOUD_DOMAIN')) - // ->assertJsonPath('data.0.id', $connection->id) - // ->assertJsonPath('data.0.is_active', true) - // ->assertJsonPath('data.0.type_human', 'Owncloud') - // ->assertJsonPath('data.0.links.update', route('fileshare.update', ['fileshare' => $connection])) - // ->assertJsonPath('meta.default.name', '') - // ->assertJsonPath('meta.links.store', route('fileshare.store')) - // ->assertJsonPath('meta.types.0.id', NextcloudConnection::class) - // ->assertJsonPath('meta.types.0.name', 'Nextcloud') - // ->assertJsonPath('meta.types.0.defaults.base_url', '') - // ->assertJsonPath('meta.types.1.id', OwncloudConnection::class) - // ->assertJsonPath('meta.types.1.name', 'Owncloud') - // ->assertJsonPath('meta.types.1.defaults.base_url', '') - // ->assertJsonPath('meta.types.0.fields.1', ['label' => 'Benutzer', 'key' => 'user', 'type' => 'text']); }); it('displays wrong connection', function () {