This repository has been archived by the owner on Sep 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(adapter): replace single quote with double quote in @mention, bet…
…ter handle datafeed errors <mention email='[email protected]'/> generates a http 500 error while <mention email="[email protected]"/> does not datafeed/x/read alternately returns http 400 after 204 (raised with Symphony)
- Loading branch information
1 parent
82c6045
commit 7c2b358
Showing
2 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,6 +82,6 @@ describe 'Adapter test suite', () -> | |
adapter.reply(envelope, 'foo bar baz') | ||
adapter.close() | ||
nock.on 'received', () -> | ||
assert.isAtLeast((m for m in nock.messages when m.message is "<messageML><mention email='[email protected]'/> foo bar baz</messageML>").length, 1) | ||
assert.isAtLeast((m for m in nock.messages when m.message is "<messageML><mention email=\"[email protected]\"/> foo bar baz</messageML>").length, 1) | ||
done() | ||
adapter.run() |