Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Jan 12, 2024
1 parent 406c4da commit ab7fe1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/gql/mutation_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ func TestValidateGtfsResolver(t *testing.T) {
},
{
name: "rt-bad-vp",
query: `mutation($url:String!, $realtime_urls:[String!]) {validate_gtfs(url:$url,realtime_urls:$realtime_urls){success errors{filename errors{filename field error_code message geometries}}}}`,
query: `mutation($url:String!, $realtime_urls:[String!]) {validate_gtfs(url:$url,realtime_urls:$realtime_urls){success errors{filename errors{filename field error_code message geometry}}}}`,
vars: hw{
"url": ts200.URL + "/external/caltrain.zip",
"realtime_urls": []string{ts200.URL + "/rt/CT-bad-vp.json"},
},
selector: "validate_gtfs.errors.0.errors.0.geometries.#.type",
selector: "validate_gtfs.errors.0.errors.0.geometry.geometries.#.type",
selectExpect: []string{"Point", "LineString"},
},
}
Expand Down

0 comments on commit ab7fe1c

Please sign in to comment.