From 96e0e3fcaf4f79dcf82b302ea892655421aef8f0 Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Tue, 26 Feb 2019 12:18:06 +0700 Subject: [PATCH] Fixed unit tests no issue - Fixed breaking test suites that were introduced with 4f9e687f62e0f1023c1d10aa6b06d82c523fc2a6 --- core/test/unit/services/rss/generate-feed_spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/test/unit/services/rss/generate-feed_spec.js b/core/test/unit/services/rss/generate-feed_spec.js index b4ffa4ff07..70a368862b 100644 --- a/core/test/unit/services/rss/generate-feed_spec.js +++ b/core/test/unit/services/rss/generate-feed_spec.js @@ -123,7 +123,7 @@ describe('RSS: Generate Feed', function () { // item tags xmlData.should.match(/<!\[CDATA\[Short and Sweet\]\]>/); xmlData.should.match(/<description><!\[CDATA\[test stuff/); - xmlData.should.match(/<content:encoded><!\[CDATA\[<h2 id="testing">testing<\/h2>\n/); + xmlData.should.match(/<content:encoded><!\[CDATA\[<!--kg-card-begin: markdown--><h2 id="testing">testing<\/h2>\n/); xmlData.should.match(/<img src="http:\/\/placekitten.com\/500\/200"/); xmlData.should.match(/<media:content url="http:\/\/placekitten.com\/500\/200" medium="image"\/>/); xmlData.should.match(/<category><!\[CDATA\[public\]\]/); @@ -142,7 +142,7 @@ describe('RSS: Generate Feed', function () { // special/optional tags xmlData.should.match(/<title><!\[CDATA\[Short and Sweet\]\]>/); xmlData.should.match(/<description><!\[CDATA\[test stuff/); - xmlData.should.match(/<content:encoded><!\[CDATA\[<h2 id="testing">testing<\/h2>\n/); + xmlData.should.match(/<content:encoded><!\[CDATA\[<!--kg-card-begin: markdown--><h2 id="testing">testing<\/h2>\n/); xmlData.should.match(/<img src="http:\/\/placekitten.com\/500\/200"/); xmlData.should.match(/<media:content url="http:\/\/placekitten.com\/500\/200" medium="image"\/>/); xmlData.should.not.match(/<dc:creator>/); @@ -160,7 +160,7 @@ describe('RSS: Generate Feed', function () { // special/optional tags xmlData.should.match(/<title><!\[CDATA\[Short and Sweet\]\]>/); xmlData.should.match(/<description><!\[CDATA\[test stuff/); - xmlData.should.match(/<content:encoded><!\[CDATA\[<h2 id="testing">testing<\/h2>\n/); + xmlData.should.match(/<content:encoded><!\[CDATA\[<!--kg-card-begin: markdown--><h2 id="testing">testing<\/h2>\n/); xmlData.should.match(/<img src="http:\/\/placekitten.com\/500\/200"/); xmlData.should.match(/<media:content url="http:\/\/placekitten.com\/500\/200" medium="image"\/>/);