Skip to content

Commit

Permalink
update apilayer api
Browse files Browse the repository at this point in the history
  • Loading branch information
schklom authored Jan 16, 2025
1 parent 7e9b212 commit eefc223
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ func TestApi(t *testing.T) {
}

gock.New("https://api.apilayer.com").
Get("/number_verification/validate").
MatchHeader("Apikey", "5ad5554ac240e4d3d31107941b35a5eb").
Get("/api/validate").
MatchParam("access_key", "5ad5554ac240e4d3d31107941b35a5eb").
MatchParam("number", number).
Reply(200).
JSON(expectedResult)
Expand Down Expand Up @@ -173,8 +173,8 @@ func TestApi(t *testing.T) {
}

gock.New("https://api.apilayer.com").
Get("/number_verification/validate").
MatchHeader("Apikey", "5ad5554ac240e4d3d31107941b35a5eb").
Get("/api/validate").
MatchParam("access_key", "5ad5554ac240e4d3d31107941b35a5eb").
MatchParam("number", number).
Reply(429).
JSON(expectedResult)
Expand Down

0 comments on commit eefc223

Please sign in to comment.