update test

This commit is contained in:
Xiaoman Dong 2018-04-12 11:32:36 -07:00
parent a9afaaf289
commit 0ea2aceddb

View File

@ -240,7 +240,7 @@ function verifyHeader(assert, PORT, restClient) {
restClient.urlToHttpClientMapping[urlPath] = mockedHttpClient;
restClient.produce(getProduceMessage(topicName, 'bla', timeStamp, 'binary'),
function assertErrorThrows(err) {
assert.true(err !== null);
assert.true(err !== null && err !== undefined);
});
assert.true(mockedHttpClient.postMethodCalled);
}