Skip to content

Commit

Permalink
[NotificationHubs] fix unit tests (#24511)
Browse files Browse the repository at this point in the history
The xml parsing test started failing after core-xml changes in PR #24356. This
PR applies test fix similar to what's been done to core-xml tests in PR #24356.
  • Loading branch information
jeremymeng authored Jan 18, 2023
1 parent 286b974 commit 7acf428
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { parseXML } from "@azure/core-xml";
export async function parseNotificationDetails(bodyText: string): Promise<NotificationDetails> {
const xml = await parseXML(bodyText, {
includeRoot: true,
stopNodes: ["NotificationDetails.NotificationBody"],
});
const notificationDetails = xml["NotificationDetails"];

Expand Down

0 comments on commit 7acf428

Please sign in to comment.