mirror of
https://github.com/uber-common/node-kafka-rest-client.git
synced 2025-12-08 20:59:54 +00:00
update test
This commit is contained in:
parent
a9afaaf289
commit
0ea2aceddb
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user