add truncation boolean to response

This commit is contained in:
Chelsea Holland Komlo
2017-08-02 19:26:50 +00:00
parent dfd8c1d832
commit e14b279bc0
3 changed files with 16 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ func TestHTTP_ResourcesWithSingleJob(t *testing.T) {
}
assert.Equal(t, j[0], testJob)
assert.Equal(t, res.Truncations["job"], false)
})
}
@@ -152,6 +153,7 @@ func TestHTTP_ResoucesListForEvaluations(t *testing.T) {
assert.Contains(t, j, eval1.ID)
assert.NotContains(t, j, eval2.ID)
assert.Equal(t, res.Truncations["eval"], false)
})
}