diff --git a/Kentico.Xperience.GoogleMaps.Tests/Services/AddressValidatorTestsBase.cs b/Kentico.Xperience.GoogleMaps.Tests/Services/AddressValidatorTestsBase.cs index 717de32..eb8fc43 100644 --- a/Kentico.Xperience.GoogleMaps.Tests/Services/AddressValidatorTestsBase.cs +++ b/Kentico.Xperience.GoogleMaps.Tests/Services/AddressValidatorTestsBase.cs @@ -67,12 +67,6 @@ public void SetUp() } - protected static HttpResponseMessage GetMessage(HttpStatusCode statusCode = HttpStatusCode.OK) - { - return GetMessage(statusCode: statusCode); - } - - protected static HttpResponseMessage GetMessage(T content = null, HttpStatusCode statusCode = HttpStatusCode.OK) where T : class { diff --git a/Kentico.Xperience.GoogleMaps/GoogleMapsConstants.cs b/Kentico.Xperience.GoogleMaps/GoogleMapsConstants.cs index a85232c..806e9f4 100644 --- a/Kentico.Xperience.GoogleMaps/GoogleMapsConstants.cs +++ b/Kentico.Xperience.GoogleMaps/GoogleMapsConstants.cs @@ -8,13 +8,13 @@ public static class GoogleMapsConstants /// /// The URL for the Google Maps Geocode API. /// - public const string GEOCODE_API_URL = "https://maps.googleapis.com/maps/api/geocode/json&key={0}&address={1}&components={2}"; + public const string GEOCODE_API_URL = "https://maps.googleapis.com/maps/api/geocode/json?key={0}&address={1}&components={2}"; /// /// The URL for the Google Maps Address Validation API. /// - public const string VALIDATION_API_URL = "https://addressvalidation.googleapis.com/v1:validateAddress&key={0}"; + public const string VALIDATION_API_URL = "https://addressvalidation.googleapis.com/v1:validateAddress?key={0}"; ///