Lint
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2024-07-14 00:11:18 +02:00
parent e2a2d746a3
commit cf93b8eff0
2 changed files with 3 additions and 7 deletions

View File

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

View File

@ -62,9 +62,7 @@ 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();
}
return Http::withOptions(['base_uri' => env('TEST_NEXTCLOUD_DOMAIN')])->withHeaders(['OCS-APIRequest' => 'true'])->withBasicAuth($this->adminUser, $this->adminPassword)->acceptJson();
}
/**
@ -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,