Bug 1158184 - Followup: fix mobile test now that we read og:title in readability.js. rs=me, a=sledru
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Fri, 24 Apr 2015 18:24:35 +0100
changeset 265785 48804a318b30271f69f042d030bab2fbbeaed3a3
parent 265784 9a81633dfeba07a907225439e007e92d42de4bbb
child 265786 8e80ee81ed024adeefbdf276ca33032c1c9b3dec
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, sledru
bugs1158184
milestone39.0a2
Bug 1158184 - Followup: fix mobile test now that we read og:title in readability.js. rs=me, a=sledru
mobile/android/base/tests/testReadingListCache.js
--- a/mobile/android/base/tests/testReadingListCache.js
+++ b/mobile/android/base/tests/testReadingListCache.js
@@ -24,17 +24,17 @@ let TEST_PAGES = [
   },
   {
     url: URL_PREFIX + "not_an_article.html",
     expected: null
   },
   {
     url: URL_PREFIX + "developer.mozilla.org/en/XULRunner/Build_Instructions.html",
     expected: {
-      title: "Building XULRunner | MDN",
+      title: "Building XULRunner",
       byline: null,
       excerpt: "XULRunner is built using basically the same process as Firefox or other applications. Please read and follow the general Build Documentation for instructions on how to get sources and set up build prerequisites.",
     }
   },
 ];
 
 add_task(function* test_article_not_found() {
   let article = yield ReaderMode.getArticleFromCache(TEST_PAGES[0].url);