Make strict mode a param (#1054)
So, a wrapping config (like cloud) can skip the strict mode check.
This commit is contained in:
@@ -105,7 +105,7 @@ func TestWebhooks(t *testing.T) {
|
||||
}
|
||||
|
||||
func setupServerWithWebhook() (server *service.LivekitServer, testServer *webhookTestServer, finishFunc func(), err error) {
|
||||
conf, err := config.NewConfig("", nil)
|
||||
conf, err := config.NewConfig("", true, nil)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("could not create config: %v", err))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user