Skip to content

Commit

Permalink
FIXUP(formatterTest.js): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Feb 17, 2023
1 parent 9e5419d commit 7f26e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/formatterTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('Formatter tests', function() {
});
describe('"Format dict"', function() {
it('should be same string', function() {
expect(Formatter.formatAsDict(message)).is.equal('{"durable":True,"priority":6,"ttl":2000,"first_acquirer":None,"delivery_count":0,"id":"Msg id","user_id":"User ID","to":"queue","subject":"test subject","reply_to":"reply_to_queue","correlation_id":"correlation id","content_type":"string","content_encoding":None,"absolute-expiry-time":None,"creation_time":None,"group-id":"group ID","group-sequence":"ABCD","reply-to-group-id":"group ID","properties":{"test_property":1,"test_property_2":"test string value"},"content":"test string","message-annotations":None}');
expect(Formatter.formatAsDict(message)).is.equal('{"durable":True,"priority":6,"ttl":2000,"first_acquirer":None,"delivery_count":0,"id":"Msg id","user-id":"User ID","to":"queue","subject":"test subject","reply-to":"reply_to_queue","correlation-id":"correlation id","content-type":"string","content-encoding":None,"absolute-expiry-time":None,"creation-time":None,"group-id":"group ID","group-sequence":"ABCD","reply-to-group-id":"group ID","properties":{"test_property":1,"test_property_2":"test string value"},"content":"test string","message-annotations":None}');
});
});
});

0 comments on commit 7f26e48

Please sign in to comment.