fix geocoding

This commit is contained in:
Asim Aslam
2021-05-05 10:43:44 +01:00
parent 5894e0a994
commit 7c4e6e236e
2 changed files with 3 additions and 9 deletions

View File

@@ -152,12 +152,6 @@ func TestGeocoding(t *testing.T) {
if len(tc.Address.LineTwo) > 0 {
address = fmt.Sprintf("%s, %s", address, tc.Address.LineTwo)
}
if len(tc.Address.Postcode) > 0 {
address = fmt.Sprintf("%s, %s", address, tc.Address.Postcode)
}
if len(tc.Address.Country) > 0 {
address = fmt.Sprintf("%s, %s", address, tc.Address.Country)
}
err = h.Lookup(context.TODO(), &pb.LookupRequest{
Address: address,
Postcode: tc.Address.Postcode,