Skip to content

Commit baba0ed

Browse files
committed
fix: remove tests that needs admin access
1 parent e559339 commit baba0ed

File tree

2 files changed

+0
-750
lines changed

2 files changed

+0
-750
lines changed

internal/agent/host_windows_test.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -110,21 +110,6 @@ func TestGetIsAdDomainController_CancelledContext(t *testing.T) {
110110
}
111111
}
112112

113-
func TestGetIsEntraConnectServer(t *testing.T) {
114-
if testing.Short() {
115-
t.Skip("skipping host function test in short mode")
116-
}
117-
118-
isEntra, err := getIsEntraConnectServer()
119-
if err != nil {
120-
t.Fatalf("getIsEntraConnectServer() error = %v", err)
121-
}
122-
123-
t.Logf("getIsEntraConnectServer() returned: %v", isEntra)
124-
// Most test machines will return false, which is expected
125-
// The function should not error on a normal Windows machine
126-
}
127-
128113
func TestGetEntraDomain(t *testing.T) {
129114
if testing.Short() {
130115
t.Skip("skipping host function test in short mode")

0 commit comments

Comments
 (0)