Open LukasDvorak opened 3 years ago
Hi @LukasDvorak, I run the entire (1k+) unit tests against 8.2.6 and .net471... I can see no issues with the FakeLinkDatabase
and GetReferrers
... Is there any chance to provide a more precise scenario to reproduce?
I got the same error in these configurations.
Sitecore FakeDb: 2.0.1
Sitecore version: Sitecore 8.2 Update-7
Test project is running under .NETFramework 4.7.1
My solution was to use Sitecore FakeDb: 1.7.4 (net461)
.
And add Reference
Microsoft.Extensions.DependencyInjection 1.0.2
Microsoft.Extensions.DependencyInjection.Abstractions 1.0.2
Sitecore FakeDb: 2.0.1 = .NET Framework 4.7.1 and later Sitecore FakeDb: 1.7.4 = .NET Framework 4.5.0 and later Sitecore 8.2.x = .NET Framework 4.6.1
I think we need to match .NET Framework versions of FakeDb And Sitecore .
Hi,
I am trying to run unit tests and I got stuck here
throws
I used these configurations
Sitecore version: Sitecore 8.2 Update-6 Test project is running under .NETFramework 4.7.1.