Remove comments
This commit is contained in:
parent
2567f28741
commit
d6a1de8fb9
|
@ -8,7 +8,6 @@ use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||||
use Livewire\Livewire;
|
use Livewire\Livewire;
|
||||||
use Modules\Fileshare\Components\SettingView;
|
use Modules\Fileshare\Components\SettingView;
|
||||||
use Tests\FileshareTestCase;
|
use Tests\FileshareTestCase;
|
||||||
use Tests\TestCase;
|
|
||||||
|
|
||||||
uses(FileshareTestCase::class);
|
uses(FileshareTestCase::class);
|
||||||
uses(DatabaseTransactions::class);
|
uses(DatabaseTransactions::class);
|
||||||
|
@ -30,24 +29,6 @@ it('displays overview', function () {
|
||||||
->assertSee('lokaler Server')
|
->assertSee('lokaler Server')
|
||||||
->assertSee('Verbindung erfolgreich')
|
->assertSee('Verbindung erfolgreich')
|
||||||
->assertSee('Owncloud');
|
->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 () {
|
it('displays wrong connection', function () {
|
||||||
|
|
Loading…
Reference in New Issue