Test case details
Test name:
OfficeDevPnP.Core.Tests.AppModelExtensions.NavigationExtensionsTests.DeleteSearchNavigationNodeTest
Outcome:
Run at:
8/10/2018 1:46:03 AM
Duration:
00:00:00
Error message:
Test method OfficeDevPnP.Core.Tests.AppModelExtensions.NavigationExtensionsTests.DeleteSearchNavigationNodeTest threw exception: System.InvalidOperationException: Sequence contains more than one matching element
Stacktrace:
at at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at lambda_method(Closure ) at System.Linq.EnumerableExecutor`1.Execute() at System.Linq.EnumerableQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression) at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source, Expression`1 predicate) at lambda_method(Closure ) at Microsoft.SharePoint.Client.ClientQueryProvider.ExecuteExpression[TResult](Expression expression) at Microsoft.SharePoint.Client.ClientQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source, Expression`1 predicate) at Microsoft.SharePoint.Client.NavigationExtensions.DeleteNavigationNode(Web web, String nodeTitle, String parentNodeTitle, NavigationType navigationType) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\NavigationExtensions.cs:line 648 at OfficeDevPnP.Core.Tests.AppModelExtensions.NavigationExtensionsTests.DeleteSearchNavigationNodeTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\NavigationExtensionsTests.cs:line 140
Console output: