Lint
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
e2a2d746a3
commit
cf93b8eff0
|
@ -10,7 +10,7 @@ use App\Form\Enums\SpecialType;
|
|||
/**
|
||||
* @method self name(string $name)
|
||||
* @method self key(string $key)
|
||||
* @method self required(bool $isRequired)
|
||||
* @method self required(bool|string $isRequired)
|
||||
* @method self rows(int $rows)
|
||||
* @method self columns(array{mobile: int, tablet: int, desktop: int} $rows)
|
||||
* @method self default(mixed $default)
|
||||
|
|
|
@ -62,10 +62,8 @@ abstract class FileshareTestCase extends TestCase
|
|||
return Http::withOptions(['base_uri' => env('TEST_OWNCLOUD_DOMAIN')])->withBasicAuth($this->adminUser, $this->adminPassword)->acceptJson();
|
||||
}
|
||||
|
||||
if ($connection === NextcloudConnection::class) {
|
||||
return Http::withOptions(['base_uri' => env('TEST_NEXTCLOUD_DOMAIN')])->withHeaders(['OCS-APIRequest' => 'true'])->withBasicAuth($this->adminUser, $this->adminPassword)->acceptJson();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<int, string> $dirs
|
||||
|
@ -102,9 +100,7 @@ abstract class FileshareTestCase extends TestCase
|
|||
'userName' => $username,
|
||||
'password' => $this->passwords[$username],
|
||||
]), '/remote.php/dav/files/' . $username);
|
||||
}
|
||||
|
||||
if ($connection === NextcloudConnection::class) {
|
||||
} else {
|
||||
$adapter = new WebDAVAdapter(new Client([
|
||||
'baseUri' => env('TEST_NEXTCLOUD_DOMAIN') . '/remote.php/dav/files/' . $username,
|
||||
'userName' => $username,
|
||||
|
|
Loading…
Reference in New Issue