Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saolyn committed Jul 18, 2024
1 parent e7d4f25 commit b893d07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beacon-chain/rpc/endpoints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func Test_endpoints(t *testing.T) {
"/eth/v1/beacon/pool/sync_committees": {http.MethodPost},
"/eth/v1/beacon/pool/voluntary_exits": {http.MethodGet, http.MethodPost},
"/eth/v1/beacon/pool/bls_to_execution_changes": {http.MethodGet, http.MethodPost},
"/eth/v1/beacon/individual_votes": {http.MethodGet},
"/prysm/v1/beacon/individual_votes": {http.MethodGet},
}

lightClientRoutes := map[string][]string{
Expand Down
2 changes: 1 addition & 1 deletion beacon-chain/rpc/eth/beacon/handlers_validators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ func TestServer_GetIndividualVotes_RequestFutureSlot(t *testing.T) {
Epoch: slots.ToEpoch(s.CoreService.GenesisTimeFetcher.CurrentSlot()) + 1,
}
errorResp, _ := individualVotesHelper(t, request, s)
require.StringContains(t, "Cannot retrieve information about an epoch in the future", errorResp)
require.StringContains(t, "cannot retrieve information about an epoch in the future", errorResp)
}

func addDefaultReplayerBuilder(s *Server, h stategen.HistoryAccessor) {
Expand Down

0 comments on commit b893d07

Please sign in to comment.