summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLDocumentationExampleTests.swift
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/test/MGLDocumentationExampleTests.swift')
-rw-r--r--platform/darwin/test/MGLDocumentationExampleTests.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLDocumentationExampleTests.swift b/platform/darwin/test/MGLDocumentationExampleTests.swift
index 9d1d848868..9aaaf4664e 100644
--- a/platform/darwin/test/MGLDocumentationExampleTests.swift
+++ b/platform/darwin/test/MGLDocumentationExampleTests.swift
@@ -459,7 +459,7 @@ class MGLDocumentationExampleTests: XCTestCase, MGLMapViewDelegate {
let options = MGLMapSnapshotOptions(styleURL: MGLStyle.satelliteStreetsStyleURL, camera: camera, size: CGSize(width: 320, height: 480))
options.zoomLevel = 10
- let snapshotter = MGLMapSnapshotter(options: options)
+ let snapshotter = MGLMapSnapshotter(options: options, offlineStorage: MGLOfflineStorage.shared)
snapshotter.start { (snapshot, error) in
if let error = error {
fatalError(error.localizedDescription)