use hardcoded style url for this simple test to avoid dependency on any setup (#144)

This commit is contained in:
Nathan Gass
2021-08-17 20:20:55 +02:00
committed by GitHub
parent 8b804a1903
commit 58a2643c8f

View File

@@ -20,7 +20,7 @@ class StyleBuilderTest {
@Test
fun testFromUrl() {
val expected = Style.getPredefinedStyle("Streets")
val expected = "https://demotiles.maplibre.org/style.json"
val builder = Style.Builder()
builder.fromUrl(expected)
assertEquals(expected, builder.uri)