summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.UnitTests/NavigationMenuUnitTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core.UnitTests/NavigationMenuUnitTests.cs')
-rw-r--r--Xamarin.Forms.Core.UnitTests/NavigationMenuUnitTests.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core.UnitTests/NavigationMenuUnitTests.cs b/Xamarin.Forms.Core.UnitTests/NavigationMenuUnitTests.cs
index b91f022..8ed5e73 100644
--- a/Xamarin.Forms.Core.UnitTests/NavigationMenuUnitTests.cs
+++ b/Xamarin.Forms.Core.UnitTests/NavigationMenuUnitTests.cs
@@ -4,6 +4,7 @@ using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
+using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Core.UnitTests
{
@@ -182,7 +183,7 @@ namespace Xamarin.Forms.Core.UnitTests
};
menu.Add (child);
- menu.SendTargetSelected (child);
+ ((INavigationMenuController)menu).SendTargetSelected (child);
Assert.True (pushed);
Assert.AreEqual (child, navForm.CurrentPage);