From 9d4382e67b717d52a3173ecb76b38c403fc2454a Mon Sep 17 00:00:00 2001 From: abreits Date: Thu, 22 Oct 2015 13:51:13 +0200 Subject: [PATCH] amqplib: small cleanup of the test code --- amqplib/amqplib-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amqplib/amqplib-tests.ts b/amqplib/amqplib-tests.ts index 9a15e250f..1116279de 100644 --- a/amqplib/amqplib-tests.ts +++ b/amqplib/amqplib-tests.ts @@ -24,7 +24,7 @@ amqp.connect("amqp://localhost") // test promise api properties var amqpMessage: amqp.Message; -amqpMessage.properties.contentType === "application/json"; +amqpMessage.properties.contentType = "application/json"; var amqpAssertExchangeOptions: amqp.Options.AssertExchange; var anqpAssertExchangeReplies: amqp.Replies.AssertExchange; @@ -62,6 +62,6 @@ amqpcb.connect("amqp://localhost", (err, connection) => { // test callback api properties var amqpcbMessage: amqp.Message; -amqpMessage.properties.contentType === "application/json"; +amqpcbMessage.properties.contentType = "application/json"; var amqpcbAssertExchangeOptions: amqp.Options.AssertExchange; var anqpcbAssertExchangeReplies: amqp.Replies.AssertExchange; \ No newline at end of file