Fix Scaleway test
The upgraded client adds order=creation_date_desc to the query parameters causing the tests to fail. Instead of checking the full URI, just check that the path is correct. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
This commit is contained in:
parent
b80ef363fa
commit
3e0a0a5d59
|
@ -122,7 +122,7 @@ func mockScalewayInstance(w http.ResponseWriter, r *http.Request) {
|
|||
http.Error(w, "bad token id", http.StatusUnauthorized)
|
||||
return
|
||||
}
|
||||
if r.RequestURI != "/instance/v1/zones/fr-par-1/servers?page=1" {
|
||||
if r.URL.Path != "/instance/v1/zones/fr-par-1/servers" {
|
||||
http.Error(w, "bad url", http.StatusNotFound)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue