fix tests

This commit is contained in:
jb-alvarado 2024-08-22 11:36:23 +02:00
parent 6b17222076
commit 629f23cf42
4 changed files with 8 additions and 8 deletions

View File

@ -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;
"#,
)

View File

@ -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;
"#,
)

View File

@ -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;
"#,
)

View File

@ -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;
"#,
)