Fix Whisper healthcheck and root redirect test.

This commit is contained in:
ben
2026-08-12 14:42:30 +02:00
parent e0400aadef
commit eb0f019025
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ services:
WHISPER__MODEL: ${LOCAL_WHISPER_MODEL:-Systran/faster-whisper-base}
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health')"]
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health')"]
interval: 15s
timeout: 5s
retries: 10
+2 -3
View File
@@ -12,8 +12,7 @@ class ExampleTest extends TestCase
*/
public function test_the_application_returns_a_successful_response(): void
{
$response = $this->get('/');
$response->assertStatus(200);
$this->get('/')
->assertRedirect('/recordings');
}
}