Skip to content

Commit

Permalink
Use constant
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Sep 10, 2023
1 parent 7a83ac9 commit ee15287
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void customImageryMBT() {
assertTrue(TestUtils.textGone(device, main.getString(R.string.layer_add_custom_imagery), 2000));
assertTrue(TestUtils.findText(device, false, "Vespucci Test")); // layer dialog
try (TileLayerDatabase db = new TileLayerDatabase(ApplicationProvider.getApplicationContext())) {
TileLayerSource tls = TileLayerDatabase.getLayer(main, db.getReadableDatabase(), "VESPUCCITEST");
TileLayerSource tls = TileLayerDatabase.getLayer(main, db.getReadableDatabase(), MockTileServer.MOCK_TILE_SOURCE);
assertNotNull(tls);
assertEquals(TileLayerSource.TYPE_TMS, tls.getType());
assertEquals(TileLayerSource.TileType.BITMAP, tls.getTileType());
Expand Down

0 comments on commit ee15287

Please sign in to comment.