From 8f1d42b6773363c7d69f1fcda32e76477057ea8e Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 28 May 2025 15:39:12 +0100 Subject: [PATCH] ensure studio mode disabled at end of tests --- main_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main_test.go b/main_test.go index 71b740e..cdb7540 100644 --- a/main_test.go +++ b/main_test.go @@ -9,6 +9,7 @@ import ( "github.com/andreykaipov/goobs/api/requests/filters" "github.com/andreykaipov/goobs/api/requests/inputs" "github.com/andreykaipov/goobs/api/requests/scenes" + "github.com/andreykaipov/goobs/api/requests/ui" typedefs "github.com/andreykaipov/goobs/api/typedefs" ) @@ -130,4 +131,6 @@ func teardown(client *goobs.Client) { client.Stream.StopStream() client.Record.StopRecord() client.Outputs.StopReplayBuffer() + client.Ui.SetStudioModeEnabled(ui.NewSetStudioModeEnabledParams(). + WithStudioModeEnabled(false)) }