Skip to content

Commit d4fd1f8

Browse files
committed
test: explicitly set NATS_URL to empty string in TestLoad_MissingNatsURL
1 parent a09ae7b commit d4fd1f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func TestLoad_Defaults(t *testing.T) {
5555
}
5656

5757
func TestLoad_MissingNatsURL(t *testing.T) {
58-
// leave NATS_URL unset
58+
t.Setenv("NATS_URL", "")
5959
t.Setenv("MS_GRAPH_TENANT_ID", "tenant")
6060
t.Setenv("MS_GRAPH_CLIENT_ID", "client")
6161
t.Setenv("MS_GRAPH_CLIENT_SECRET", "secret")

0 commit comments

Comments
 (0)