Skip to content

Commit

Permalink
Release 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanGreenFlux committed Apr 17, 2020
1 parent a604f58 commit cc0e9be
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
When writing tests for your application it is often desirable to avoid hitting the database. The extension allows you to achieve this by creating a context – with behavior defined by your tests – that makes use of in-memory data.
</Description>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>Supported Entity Framework Core 3.1.1</PackageReleaseNotes>
<PackageReleaseNotes>Restore support for netstandard2.0</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/romantitov/MockQueryable</PackageProjectUrl>
<RepositoryUrl>https://github.com/romantitov/MockQueryable</RepositoryUrl>
<PackageTags>Mock EntityFrameworkCore Queryable mock EF EFCore UnitTests FakeItEasy</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.1.1</Version>
<AssemblyVersion>3.1.1.0</AssemblyVersion>
<FileVersion>3.1.1.0</FileVersion>
<Version>3.1.2</Version>
<AssemblyVersion>3.1.2.0</AssemblyVersion>
<FileVersion>3.1.2.0</FileVersion>
<Company></Company>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>logo.png</PackageIcon>
Expand Down
8 changes: 4 additions & 4 deletions src/MockQueryable/MockQueryable.Moq/MockQueryable.Moq.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
When writing tests for your application it is often desirable to avoid hitting the database. The extension allows you to achieve this by creating a context – with behavior defined by your tests – that makes use of in-memory data.
</Description>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>Supported Entity Framework Core 3.1.1</PackageReleaseNotes>
<PackageReleaseNotes>Restore support for netstandard2.0</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/romantitov/MockQueryable</PackageProjectUrl>
<RepositoryUrl>https://github.com/romantitov/MockQueryable</RepositoryUrl>
<PackageTags>Mock EntityFrameworkCore Queryable mock EF EFCore UnitTests EntityFrameworkCore Moq</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.1.1</Version>
<AssemblyVersion>3.1.1.0</AssemblyVersion>
<FileVersion>3.1.1.0</FileVersion>
<Version>3.1.2</Version>
<AssemblyVersion>3.1.2.0</AssemblyVersion>
<FileVersion>3.1.2.0</FileVersion>
<Company></Company>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>logo.png</PackageIcon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
When writing tests for your application it is often desirable to avoid hitting the database. The extension allows you to achieve this by creating a context – with behavior defined by your tests – that makes use of in-memory data.
</Description>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>Supported Entity Framework Core 3.1.1</PackageReleaseNotes>
<PackageReleaseNotes>Restore support for netstandard2.0</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/romantitov/MockQueryable</PackageProjectUrl>
<RepositoryUrl>https://github.com/romantitov/MockQueryable</RepositoryUrl>
<PackageTags>Mock EntityFrameworkCore Queryable mock EF EFCore UnitTests EntityFrameworkCore NSubstitute</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.1.1</Version>
<AssemblyVersion>3.1.1.0</AssemblyVersion>
<FileVersion>3.1.1.0</FileVersion>
<Version>3.1.2</Version>
<AssemblyVersion>3.1.2.0</AssemblyVersion>
<FileVersion>3.1.2.0</FileVersion>
<Company></Company>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>logo.png</PackageIcon>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/MockQueryable/MockQueryable/MockQueryable.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
When writing tests for your application it is often desirable to avoid hitting the database. The extension allows you to achieve this by creating a context – with behavior defined by your tests – that makes use of in-memory data.
</Description>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>Supported Entity Framework Core 3.1.1</PackageReleaseNotes>
<PackageReleaseNotes>Restore support for netstandard2.0</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/romantitov/MockQueryable</PackageProjectUrl>
<RepositoryUrl>https://github.com/romantitov/MockQueryable</RepositoryUrl>
<PackageTags>Mock EntityFrameworkCore Queryable mock EF UnitTests EntityFrameworkCore</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.1.1</Version>
<AssemblyVersion>3.1.1.0</AssemblyVersion>
<FileVersion>3.1.1.0</FileVersion>
<Version>3.1.2</Version>
<AssemblyVersion>3.1.2.0</AssemblyVersion>
<FileVersion>3.1.2.0</FileVersion>
<Company></Company>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>logo.png</PackageIcon>
Expand Down
7 changes: 3 additions & 4 deletions src/MockQueryable/MockQueryable/TestAsyncEnumerable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ public TResult ExecuteAsync<TResult>(Expression expression, CancellationToken ca
{
var expectedResultType = typeof(TResult).GetGenericArguments()[0];
var executionResult = typeof(IQueryProvider)
.GetMethods()
.Where(method => method.Name == nameof(IQueryProvider.Execute) && method.IsGenericMethod)
.First()
.MakeGenericMethod(expectedResultType)
.GetMethods()
.First(method => method.Name == nameof(IQueryProvider.Execute) && method.IsGenericMethod)
.MakeGenericMethod(expectedResultType)
.Invoke(this, new[] {expression});

return (TResult) typeof(Task).GetMethod(nameof(Task.FromResult))
Expand Down

0 comments on commit cc0e9be

Please sign in to comment.