feat(app): pass context to start process

This commit is contained in:
2023-10-19 20:05:59 +02:00
parent 4d064de164
commit efb8ba8b99
13 changed files with 46 additions and 35 deletions

View File

@ -40,7 +40,8 @@ func TestCastModule(t *testing.T) {
t.Fatal(err)
}
if err := server.Start(); err != nil {
ctx := context.Background()
if err := server.Start(ctx); err != nil {
t.Fatalf("%+v", errors.WithStack(err))
}
@ -74,7 +75,8 @@ func TestCastModuleRefreshDevices(t *testing.T) {
t.Fatal(err)
}
if err := server.Start(); err != nil {
ctx := context.Background()
if err := server.Start(ctx); err != nil {
t.Fatalf("%+v", errors.WithStack(err))
}