Skip to content

Commit

Permalink
Bug 1102416 followup #2: fix tests, r+a=gavin
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsharp committed Nov 26, 2014
1 parent 3bd52ba commit 08786dc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ function test() {
ok(data.days.hasDay(now), "Have data for today.");
let day = data.days.getDay(now);

// Will need to be changed if Google isn't the default search engine.
let field = "google.contextmenu";
// Will need to be changed if Yahoo isn't the default search engine.
let defaultProviderID = "yahoo";
let field = defaultProviderID + ".contextmenu";
ok(day.has(field), "Have search recorded for context menu.");

// If any other mochitests perform a context menu search, this will fail.
Expand Down

0 comments on commit 08786dc

Please sign in to comment.