Skip to content

Commit 40c9203

Browse files
committed
chore: update other test projects to pass again
1 parent 4c321fb commit 40c9203

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Diff for: src/Examples/JsonApiDotNetCoreExample/Services/CustomArticleService.cs

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ namespace JsonApiDotNetCoreExample.Services
1616
{
1717
public class CustomArticleService : EntityResourceService<Article>
1818
{
19-
public CustomArticleService(IEntityRepository<Article, int> repository, IJsonApiOptions options, ITargetedFields updatedFields, ICurrentRequest currentRequest, IIncludeService includeService, ISparseFieldsService sparseFieldsService, IPageQueryService pageManager, IResourceGraph resourceGraph, IResourceHookExecutor hookExecutor = null, IResourceMapper mapper = null, ILoggerFactory loggerFactory = null) : base(repository, options, updatedFields, currentRequest, includeService, sparseFieldsService, pageManager, resourceGraph, hookExecutor, mapper, loggerFactory)
19+
public CustomArticleService(IEntityRepository<Article, int> repository, IJsonApiOptions options,
20+
ITargetedFields updatedFields, ICurrentRequest currentRequest,
21+
IIncludeService includeService, ISparseFieldsService sparseFieldsService,
22+
IPageQueryService pageManager, IResourceGraph resourceGraph,
23+
IResourceHookExecutor hookExecutor = null, ILoggerFactory loggerFactory = null)
24+
: base(repository, options, updatedFields, currentRequest, includeService, sparseFieldsService, pageManager, resourceGraph, hookExecutor, loggerFactory)
2025
{
2126
}
2227

Diff for: test/NoEntityFrameworkTests/Acceptance/Extensibility/NoEntityFrameworkTests.cs

-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
using System.Net.Http;
44
using System.Net.Http.Headers;
55
using System.Threading.Tasks;
6-
using JsonApiDotNetCore.Serialization;
7-
using JsonApiDotNetCore.Serialization.Contracts;
8-
96
using JsonApiDotNetCoreExample.Models;
10-
using JsonApiDotNetCoreExampleTests.Helpers.Extensions;
117
using Newtonsoft.Json;
128
using Xunit;
139

0 commit comments

Comments
 (0)