mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fixing unit test
This commit is contained in:
parent
73d09ef4b8
commit
11ccf26e56
@ -110,8 +110,7 @@ func TestStaggardLoad(t *testing.T) {
|
||||
assert.NoError(t, TestAPIRequest(GetChannelTopics, params, response))
|
||||
assert.Equal(t, len(*topics), 13)
|
||||
|
||||
//marker, _ := strconv.Atoi(response.header["Topic-Marker"][0])
|
||||
//revision, _ := strconv.Atoi(response.header["Topic-Revision"][0])
|
||||
revision := response.header["Topic-Revision"][0]
|
||||
|
||||
params = &TestAPIParams{
|
||||
restType: "GET",
|
||||
@ -126,7 +125,6 @@ func TestStaggardLoad(t *testing.T) {
|
||||
assert.Equal(t, len(*topics), 13)
|
||||
|
||||
marker := response.header["Topic-Marker"][0]
|
||||
revision := response.header["Topic-Revision"][0]
|
||||
|
||||
params = &TestAPIParams{
|
||||
restType: "DELETE",
|
||||
|
Loading…
Reference in New Issue
Block a user