From 629f23cf429e75a97d104012993692ad5daa249a Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Thu, 22 Aug 2024 11:36:23 +0200 Subject: [PATCH] fix tests --- tests/src/engine_cmd.rs | 4 ++-- tests/src/engine_generator.rs | 4 ++-- tests/src/engine_playlist.rs | 4 ++-- tests/src/lib_utils.rs | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/src/engine_cmd.rs b/tests/src/engine_cmd.rs index c5babfba..6e4d2772 100644 --- a/tests/src/engine_cmd.rs +++ b/tests/src/engine_cmd.rs @@ -22,8 +22,8 @@ async fn prepare_config() -> (PlayoutConfig, ChannelManager) { sqlx::query( r#" - UPDATE global SET hls_path = "assets/hls", logging_path = "assets/log", - playlist_path = "assets/playlists", storage_path = "assets/storage"; + UPDATE global SET public_root = "assets/hls", logging_path = "assets/log", playlist_root = "assets/playlists", storage_root = "assets/storage"; + UPDATE channels SET hls_path = "assets/hls", playlist_path = "assets/playlists", storage_path = "assets/storage"; UPDATE configurations SET processing_width = 1024, processing_height = 576; "#, ) diff --git a/tests/src/engine_generator.rs b/tests/src/engine_generator.rs index 8d2bb3f9..151dada8 100644 --- a/tests/src/engine_generator.rs +++ b/tests/src/engine_generator.rs @@ -25,8 +25,8 @@ async fn prepare_config() -> (PlayoutConfig, ChannelManager) { sqlx::query( r#" - UPDATE global SET hls_path = "assets/hls", logging_path = "assets/log", - playlist_path = "assets/playlists", storage_path = "assets/storage"; + UPDATE global SET public_root = "assets/hls", logging_path = "assets/log", playlist_root = "assets/playlists", storage_root = "assets/storage"; + UPDATE channels SET hls_path = "assets/hls", playlist_path = "assets/playlists", storage_path = "assets/storage"; UPDATE configurations SET processing_width = 1024, processing_height = 576; "#, ) diff --git a/tests/src/engine_playlist.rs b/tests/src/engine_playlist.rs index e8bb8e42..b5ea36cf 100644 --- a/tests/src/engine_playlist.rs +++ b/tests/src/engine_playlist.rs @@ -24,8 +24,8 @@ async fn prepare_config() -> (PlayoutConfig, ChannelManager) { sqlx::query( r#" - UPDATE global SET hls_path = "assets/hls", logging_path = "assets/log", - playlist_path = "assets/playlists", storage_path = "assets/storage"; + UPDATE global SET public_root = "assets/hls", logging_path = "assets/log", playlist_root = "assets/playlists", storage_root = "assets/storage"; + UPDATE channels SET hls_path = "assets/hls", playlist_path = "assets/playlists", storage_path = "assets/storage"; UPDATE configurations SET processing_width = 1024, processing_height = 576; "#, ) diff --git a/tests/src/lib_utils.rs b/tests/src/lib_utils.rs index a6a3e2e5..2638d038 100644 --- a/tests/src/lib_utils.rs +++ b/tests/src/lib_utils.rs @@ -18,8 +18,8 @@ async fn prepare_config() -> (PlayoutConfig, ChannelManager) { sqlx::query( r#" - UPDATE global SET hls_path = "assets/hls", logging_path = "assets/log", - playlist_path = "assets/playlists", storage_path = "assets/storage"; + UPDATE global SET public_root = "assets/hls", logging_path = "assets/log", playlist_root = "assets/playlists", storage_root = "assets/storage"; + UPDATE channels SET hls_path = "assets/hls", playlist_path = "assets/playlists", storage_path = "assets/storage"; UPDATE configurations SET processing_width = 1024, processing_height = 576; "#, )