Test case details
Test name:
OfficeDevPnP.Core.Tests.AppModelExtensions.NavigationExtensionsTests.DeleteSearchNavigationNodeTest
Outcome:
Run at:
1/11/2019 3:55:07 AM
Duration:
00:00:01
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 670 at OfficeDevPnP.Core.Tests.AppModelExtensions.NavigationExtensionsTests.DeleteSearchNavigationNodeTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\NavigationExtensionsTests.cs:line 217
Console output:
    

Debug Trace:
Program Information: 0 : 2019-01-11 03:55:07.5877	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 1/11/2019 11:55:07 AM	0ms