Skip to content

Commit

Permalink
Fix broken test for transform/wikitext/to/mobile-html
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mdholloway committed Feb 6, 2020
1 parent 207d4c1 commit a0986ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/features/pcs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit a0986ed

Please sign in to comment.