Skip to content

Commit

Permalink
Trying to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
garvankeeley committed Aug 13, 2020
1 parent 2bc17ff commit af713c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ClientTests/TabEventHandlerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ class TabEventHandlerTests: XCTestCase {


func testBlankPopupURL() {
// Hide intro so it is easier to see the test running and debug it
BrowserViewController.foregroundBVC().profile.prefs.setInt(1, forKey: PrefsKeys.IntroSeen)
BrowserViewController.foregroundBVC().profile.prefs.setString(ETPCoverSheetShowType.DoNotShow.rawValue, forKey: PrefsKeys.KeyETPCoverSheetShowType)

let webServer = GCDWebServer()
webServer.addHandler(forMethod: "GET", path: "/blankpopup", request: GCDWebServerRequest.self) { (request) -> GCDWebServerResponse in
let page = """
Expand Down

0 comments on commit af713c0

Please sign in to comment.