Skip to content

Commit

Permalink
fix: revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Sep 18, 2024
1 parent 591d726 commit 42078e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/os/provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestLocalConnectionIdDetectors(t *testing.T) {
require.NoError(t, err)
require.NotNil(t, connectResp)

require.Len(t, connectResp.Asset.IdDetector, 3)
require.Len(t, connectResp.Asset.IdDetector, 2)
require.Contains(t, connectResp.Asset.IdDetector, ids.IdDetector_Hostname)
require.Contains(t, connectResp.Asset.IdDetector, ids.IdDetector_SerialNumber)
require.Contains(t, connectResp.Asset.IdDetector, ids.IdDetector_CloudDetect)
Expand All @@ -56,7 +56,7 @@ func TestLocalConnectionIdDetectors(t *testing.T) {
require.NoError(t, err)
require.NotNil(t, connectResp)

require.Len(t, connectResp.Asset.IdDetector, 3)
require.Len(t, connectResp.Asset.IdDetector, 2)
require.Contains(t, connectResp.Asset.IdDetector, ids.IdDetector_Hostname)
require.Contains(t, connectResp.Asset.IdDetector, ids.IdDetector_CloudDetect)
require.NotContains(t, connectResp.Asset.IdDetector, ids.IdDetector_SshHostkey)
Expand Down

0 comments on commit 42078e0

Please sign in to comment.