add fastexact to main

This commit is contained in:
Bel LaPointe
2022-01-27 15:25:19 -07:00
parent 5742a215b1
commit 9427e85202
2 changed files with 5 additions and 1 deletions

View File

@@ -228,6 +228,9 @@ func (mock mockFastExactDoer) doRequest(req *http.Request) (*http.Response, erro
return nil, errors.New("bad query: zip code empty")
}
b, err := ioutil.ReadFile("./testdata/fastexact_search.xml")
if err != nil {
b, err = ioutil.ReadFile("./broker/testdata/fastexact_search.xml")
}
if err != nil {
return nil, err
}