Derp
This commit is contained in:
parent
9377c265a8
commit
fb727fc84a
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ func TestServer_PublishNoCache(t *testing.T) {
|
||||||
msg := toMessage(t, response.Body.String())
|
msg := toMessage(t, response.Body.String())
|
||||||
require.NotEmpty(t, msg.ID)
|
require.NotEmpty(t, msg.ID)
|
||||||
require.Equal(t, "this message is not cached", msg.Message)
|
require.Equal(t, "this message is not cached", msg.Message)
|
||||||
require.Equal(t, 0, msg.Expires)
|
require.Equal(t, int64(0), msg.Expires)
|
||||||
|
|
||||||
response = request(t, s, "GET", "/mytopic/json?poll=1", "", nil)
|
response = request(t, s, "GET", "/mytopic/json?poll=1", "", nil)
|
||||||
messages := toMessages(t, response.Body.String())
|
messages := toMessages(t, response.Body.String())
|
||||||
|
|
Loading…
Reference in a new issue