This commit is contained in:
@@ -202,7 +202,7 @@ func TestCreateUserMessageAndSendJob(t *testing.T) {
|
||||
|
||||
srv := newTestServer(t, "http://test-srv.example")
|
||||
|
||||
err := CreateUserMessageAndSendJob(
|
||||
msgUuid, err := CreateUserMessageAndSendJob(
|
||||
dir,
|
||||
"hello from integration",
|
||||
"peer-create-send",
|
||||
@@ -212,6 +212,7 @@ func TestCreateUserMessageAndSendJob(t *testing.T) {
|
||||
60,
|
||||
)
|
||||
require.NoError(t, err)
|
||||
assert.NotEmpty(t, msgUuid, "returned UUID must not be empty")
|
||||
|
||||
// A pending job must be in the queue.
|
||||
job, _, err := client.PeekSendJob(dir, "peer-create-send")
|
||||
|
||||
Reference in New Issue
Block a user