From 985c199e33fa8c05bba1a9c3872344508c0a088b Mon Sep 17 00:00:00 2001 From: Meghdad Date: Fri, 15 May 2026 17:32:36 +0330 Subject: [PATCH] update test setup --- tests/Feature/MediaMtxIntegrationTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/Feature/MediaMtxIntegrationTest.php b/tests/Feature/MediaMtxIntegrationTest.php index 78163aa..c16fb34 100644 --- a/tests/Feature/MediaMtxIntegrationTest.php +++ b/tests/Feature/MediaMtxIntegrationTest.php @@ -12,6 +12,16 @@ class MediaMtxIntegrationTest extends TestCase { use RefreshDatabase; + protected function setUp(): void + { + parent::setUp(); + + config([ + 'streaming.hls_public_url' => 'http://localhost:8888', + 'streaming.mediamtx_shared_secret' => 'local-dev-secret', + ]); + } + public function test_mediamtx_publish_auth_accepts_valid_stream_key(): void { $channel = Channel::factory()->create(['slug' => 'valid-channel']);