Test case details
Test name:
OfficeDevPnP.Core.Tests.Utilities.HttpHelperTests.MakePatchRequestForStringTest
Outcome:
Run at:
3/25/2020 8:42:19 PM
Duration:
00:00:00
Error message:
Test method OfficeDevPnP.Core.Tests.Utilities.HttpHelperTests.MakePatchRequestForStringTest threw exception: System.UriFormatException: Invalid URI: The format of the URI could not be determined.
Stacktrace:
at at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind) at System.Uri..ctor(String uriString) at OfficeDevPnP.Core.Utilities.HttpHelper.MakeHttpRequest[TResult](String httpMethod, String requestUrl, HttpResponseHeaders& responseHeaders, String accessToken, String accept, Object content, String contentType, String referer, Func`2 resultPredicate, Dictionary`2 requestHeaders, Dictionary`2 cookies, Int32 retryCount, Int32 delay, String userAgent, ClientContext spContext) in c:\pnpbuild\Core\OfficeDevPnP.Core\Utilities\HttpHelper.cs:line 556 at OfficeDevPnP.Core.Utilities.HttpHelper.MakeHttpRequest[TResult](String httpMethod, String requestUrl, String accessToken, String accept, Object content, String contentType, String referer, Func`2 resultPredicate, Dictionary`2 requestHeaders, Dictionary`2 cookies, Int32 retryCount, Int32 delay, String userAgent, ClientContext spContext) in c:\pnpbuild\Core\OfficeDevPnP.Core\Utilities\HttpHelper.cs:line 458 at OfficeDevPnP.Core.Utilities.HttpHelper.MakePatchRequestForString(String requestUrl, Object content, String contentType, String accessToken, Dictionary`2 requestHeaders, Dictionary`2 cookies, Int32 retryCount, Int32 delay, String userAgent, ClientContext spContext) in c:\pnpbuild\Core\OfficeDevPnP.Core\Utilities\HttpHelper.cs:line 374 at OfficeDevPnP.Core.Tests.Utilities.HttpHelperTests.MakePatchRequestForStringTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Utilities\HttpHelperTests.cs:line 102
Console output: