Remove comments

This commit is contained in:
philipp lang 2025-03-28 15:33:20 +01:00
parent 2567f28741
commit d6a1de8fb9
1 changed files with 0 additions and 19 deletions
modules/Fileshare/Components

View File

@ -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 () {