Skip to content

Commit 331cc68

Browse files
authored
Merge pull request #208 from Esri/mhd/FixTests
Fix Tests
2 parents 30e28e6 + eadbb51 commit 331cc68

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/ArcGISToolkitTests/BasemapGalleryItemTests.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ final class BasemapGalleryItemTests: XCTestCase {
7878
let isBasemapLoading3 = try await item3.$isBasemapLoading.dropFirst().first
7979
let loading3 = try XCTUnwrap(isBasemapLoading3)
8080
XCTAssertFalse(loading3, "Item is not loading.")
81-
XCTAssertEqual(item3.name, "OpenStreetMap Blueprint")
82-
XCTAssertEqual(item3.description, "<div><div style=\'margin-bottom:3rem;\'><div><div style=\'max-width:100%; display:inherit;\'><p style=\'margin-top:0px; margin-bottom:1.5rem;\'><span style=\'font-family:&quot;Avenir Next W01&quot;, &quot;Avenir Next W00&quot;, &quot;Avenir Next&quot;, Avenir, &quot;Helvetica Neue&quot;, sans-serif; font-size:16px;\'>This web map presents a vector basemap of OpenStreetMap (OSM) data hosted by Esri. Esri created this vector tile basemap from the </span><a href=\'https://daylightmap.org/\' rel=\'nofollow ugc\' style=\'color:rgb(0, 121, 193); text-decoration-line:none; font-family:&quot;Avenir Next W01&quot;, &quot;Avenir Next W00&quot;, &quot;Avenir Next&quot;, Avenir, &quot;Helvetica Neue&quot;, sans-serif; font-size:16px;\'>Daylight map distribution</a><span style=\'font-family:&quot;Avenir Next W01&quot;, &quot;Avenir Next W00&quot;, &quot;Avenir Next&quot;, Avenir, &quot;Helvetica Neue&quot;, sans-serif; font-size:16px;\'> of OSM data, which is supported by </span><b><font style=\'font-family:inherit;\'><span style=\'font-family:inherit;\'>Facebook</span></font> </b><span style=\'font-family:&quot;Avenir Next W01&quot;, &quot;Avenir Next W00&quot;, &quot;Avenir Next&quot;, Avenir, &quot;Helvetica Neue&quot;, sans-serif; font-size:16px;\'>and supplemented with additional data from </span><font style=\'font-family:&quot;Avenir Next W01&quot;, &quot;Avenir Next W00&quot;, &quot;Avenir Next&quot;, Avenir, &quot;Helvetica Neue&quot;, sans-serif; font-size:16px;\'><b>Microsoft</b>. It presents the map in a cartographic style is like a blueprint technical drawing. The OSM Daylight map will be updated every month with the latest version of OSM Daylight data. </font></p><div style=\'font-family:&quot;Avenir Next W01&quot;, &quot;Avenir Next W00&quot;, &quot;Avenir Next&quot;, Avenir, &quot;Helvetica Neue&quot;, sans-serif; font-size:16px;\'>OpenStreetMap is an open collaborative project to create a free editable map of the world. Volunteers gather location data using GPS, local knowledge, and other free sources of information and upload it. The resulting free map can be viewed and downloaded from the OpenStreetMap site: <a href=\'https://www.openstreetmap.org/\' rel=\'nofollow ugc\' style=\'color:rgb(0, 121, 193); text-decoration-line:none; font-family:inherit;\' target=\'_blank\'>www.OpenStreetMap.org</a>. Esri is a supporter of the OSM project and is excited to make this enhanced vector basemap available to the ArcGIS user and developer communities.</div></div></div></div></div><div style=\'margin-bottom:3rem; display:inherit; font-family:&quot;Avenir Next W01&quot;, &quot;Avenir Next W00&quot;, &quot;Avenir Next&quot;, Avenir, &quot;Helvetica Neue&quot;, sans-serif; font-size:16px;\'><div style=\'display:inherit;\'></div></div>")
81+
XCTAssertEqual(item3.name, "OpenStreetMap (Blueprint)")
82+
XCTAssertNotNil(item3.description)
8383
XCTAssertNotNil(item3.thumbnail)
8484
XCTAssertNil(item3.loadBasemapError)
8585
}

Tests/ArcGISToolkitTests/Test Support/Utility/ChallengeHandler.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//
1818

1919
import Foundation
20-
@testable import ArcGIS
20+
import ArcGIS
2121

2222
/// A `ChallengeHandler` that that can handle trusting hosts with a self-signed certificate, the URL credential,
2323
/// and the token credential.

0 commit comments

Comments
 (0)