From a0986edf9e0598c9bf1794cfe3badb76e689129c Mon Sep 17 00:00:00 2001 From: Michael Holloway Date: Thu, 6 Feb 2020 18:30:18 -0500 Subject: [PATCH] Fix broken test for transform/wikitext/to/mobile-html This test was broken by a change to mobileapps to more aggressively strip empty sections in mobile-html. Some section body text is added to the input to fix it. --- test/features/pcs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/features/pcs.js b/test/features/pcs.js index dcaea934a..73822b8f5 100644 --- a/test/features/pcs.js +++ b/test/features/pcs.js @@ -85,7 +85,8 @@ describe('Page Content Service: transforms', () => { return preq.post({ uri: `${server.config.baseURL()}/transform/wikitext/to/mobile-html/Main_Page`, body: { - wikitext: '== Heading ==' + wikitext: `== Heading == + hello world` } }) .then((res) => {