Skip to content

Commit

Permalink
Use UTC in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Feb 20, 2017
1 parent ff6091e commit 90cbcf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MapboxStaticTests/MapboxStaticTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class MapboxStaticTests: XCTestCase {
override func setUp() {
super.setUp()
OHHTTPStubs.removeAllStubs()

// Make sure tests run in all time zones
NSTimeZone.default = TimeZone(secondsFromGMT: 0)!
}

fileprivate func parseQueryString(_ request: URLRequest) -> Dictionary<String, String> {
Expand Down

0 comments on commit 90cbcf7

Please sign in to comment.