diff --git a/lib/SetupCheck/BackgroundBlurLoading.php b/lib/SetupCheck/BackgroundBlurLoading.php index eec9c6de4b2..725618f9284 100644 --- a/lib/SetupCheck/BackgroundBlurLoading.php +++ b/lib/SetupCheck/BackgroundBlurLoading.php @@ -8,11 +8,11 @@ */ namespace OCA\Talk\SetupCheck; -use OCA\Settings\SetupChecks\CheckServerResponseTrait; use OCP\Http\Client\IClientService; use OCP\IConfig; use OCP\IL10N; use OCP\IURLGenerator; +use OCP\SetupCheck\CheckServerResponseTrait; use OCP\SetupCheck\ISetupCheck; use OCP\SetupCheck\SetupResult; use Psr\Log\LoggerInterface; @@ -43,7 +43,7 @@ public function getName(): string { public function run(): SetupResult { $url = $this->urlGenerator->linkTo('spreed', 'js/tflite.wasm'); $noResponse = true; - $responses = $this->runHEAD($url); + $responses = $this->runRequest('HEAD', $url); foreach ($responses as $response) { $noResponse = false; if ($response->getStatusCode() === 200) { diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml index a7c1418ba42..b3031a6c16a 100644 --- a/tests/psalm-baseline.xml +++ b/tests/psalm-baseline.xml @@ -1,5 +1,5 @@ - + @@ -81,11 +81,6 @@ - - - - - getView()]]>