Skip to content

Commit

Permalink
Test - Fix NetCore FolderSchemeHandlerFactoryTests.CanWork path
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Jul 3, 2022
1 parent 50c672c commit fa8d88c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ public FolderSchemeHandlerFactoryTests(ITestOutputHelper output, CefSharpFixture
public async Task CanWork()
{
const string expected = "https://folderschemehandlerfactory.test/";
#if NETCOREAPP
var folder = Path.GetFullPath(@"..\..\..\..\..\..\CefSharp.Example\Resources");
#else
var folder = Path.GetFullPath(@"..\..\..\..\..\CefSharp.Example\Resources");
#endif

using (var requestContext = new RequestContext(Cef.GetGlobalRequestContext()))
using (var browser = new ChromiumWebBrowser(CefExample.DefaultUrl, requestContext: requestContext))
Expand Down

0 comments on commit fa8d88c

Please sign in to comment.