Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anton.prokhorov committed Feb 9, 2024
1 parent b1ca0a5 commit 7b029d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/modules/api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,9 +619,9 @@ func TestAPI(t *testing.T) {
token: User1Token,
schema: (actions.EventsListResult)(nil),
result: map[string]matcher{
"$": length(9),
"$": length(10),
"$[0].protocol": equal("http"),
"$[8].protocol": equal("dns"),
"$[9].protocol": equal("dns"),
},
status: 200,
},
Expand Down
2 changes: 1 addition & 1 deletion internal/modules/api/apiclient/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ func TestClient(t *testing.T) {
},
map[string]matcher{
"0.Protocol": equal("http"),
"8.Protocol": equal("dns"),
"9.Protocol": equal("dns"),
},
nil,
},
Expand Down

0 comments on commit 7b029d5

Please sign in to comment.