mirror of
https://github.com/wahyd4/go-mocket.git
synced 2026-08-09 04:46:54 +10:00
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:
+2
-2
@@ -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"])
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user