summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.UnitTests/MapTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core.UnitTests/MapTests.cs')
-rw-r--r--Xamarin.Forms.Core.UnitTests/MapTests.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core.UnitTests/MapTests.cs b/Xamarin.Forms.Core.UnitTests/MapTests.cs
index 7c798b3..0d6888d 100644
--- a/Xamarin.Forms.Core.UnitTests/MapTests.cs
+++ b/Xamarin.Forms.Core.UnitTests/MapTests.cs
@@ -120,7 +120,7 @@ namespace Xamarin.Forms.Core.UnitTests
bool signaled = false;
MessagingCenter.Subscribe<Map, MapSpan> (this, "MapMoveToRegion", (s, a) => {
signaled = true;
- map.VisibleRegion = a;
+ map.SetVisibleRegion(a);
}, map);
map.MoveToRegion (new MapSpan (new Position (1, 2), 3, 4));
@@ -139,7 +139,7 @@ namespace Xamarin.Forms.Core.UnitTests
signaled = true;
};
- map.VisibleRegion = map.VisibleRegion;
+ map.SetVisibleRegion(map.VisibleRegion);
Assert.False (signaled);
}