fixing unit test

This commit is contained in:
Roland Osborne 2022-12-28 16:47:37 -08:00
parent 73d09ef4b8
commit 11ccf26e56

View File

@ -110,8 +110,7 @@ func TestStaggardLoad(t *testing.T) {
assert.NoError(t, TestAPIRequest(GetChannelTopics, params, response)) assert.NoError(t, TestAPIRequest(GetChannelTopics, params, response))
assert.Equal(t, len(*topics), 13) assert.Equal(t, len(*topics), 13)
//marker, _ := strconv.Atoi(response.header["Topic-Marker"][0]) revision := response.header["Topic-Revision"][0]
//revision, _ := strconv.Atoi(response.header["Topic-Revision"][0])
params = &TestAPIParams{ params = &TestAPIParams{
restType: "GET", restType: "GET",
@ -126,7 +125,6 @@ func TestStaggardLoad(t *testing.T) {
assert.Equal(t, len(*topics), 13) assert.Equal(t, len(*topics), 13)
marker := response.header["Topic-Marker"][0] marker := response.header["Topic-Marker"][0]
revision := response.header["Topic-Revision"][0]
params = &TestAPIParams{ params = &TestAPIParams{
restType: "DELETE", restType: "DELETE",