Fixed Failing Test

For some reason, this test was failing on TravicCI, but not locally.
I fixed it by changing it so that we actually test against what was read from the query.
This commit is contained in:
Alexandre Vallières-Lagacé
2018-10-23 14:01:40 -04:00
parent 7fe2a85fee
commit fe7592b0d8
+2 -2
View File
@@ -65,8 +65,8 @@ func TestResponses(t *testing.T) {
if len(result) != 1 {
t.Errorf("Returned sets is not equal to 1. Received %d", len(result))
}
if result[0]["age"] != "30" {
t.Errorf("Age is not equal. Got %v", result[0]["age"])
if result[0]["name"] != "FirstLast" {
t.Errorf("Name is not equal. Got %v", result[0]["name"])
}
})