Skip to content

Commit 19a3c51

Browse files
committed
remaining changes of #1068
1 parent 06becc9 commit 19a3c51

File tree

428 files changed

+969
-967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

428 files changed

+969
-967
lines changed

Diff for: .github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Explain the problem and include additional details to help maintainers reproduce
3434
This section guides you through submitting an enhancement suggestion, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion and find related suggestions.
3535

3636
Before creating enhancement suggestions:
37-
- Check the [documentation](https://www.jsonapi.net/usage/resources/index.html) and [integration tests](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/test/JsonApiDotNetCoreExampleTests/IntegrationTests) for existing features. You might discover the enhancement is already available.
37+
- Check the [documentation](https://www.jsonapi.net/usage/resources/index.html) and [integration tests](https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/master/test/JsonApiDotNetCoreTests/IntegrationTests) for existing features. You might discover the enhancement is already available.
3838
- Perform a search to see if the feature has already been reported. If it has and the issue is still open, add a comment to the existing issue instead of opening a new one.
3939

4040
When you are creating an enhancement suggestion, please include as many details as possible. Fill in the template, including the steps that you imagine you would take if the feature you're requesting existed.

Diff for: JsonApiDotNetCore.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks",
2020
EndProject
2121
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GettingStarted", "src\Examples\GettingStarted\GettingStarted.csproj", "{067FFD7A-C66B-473D-8471-37F5C95DF61C}"
2222
EndProject
23-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JsonApiDotNetCoreExampleTests", "test\JsonApiDotNetCoreTests\JsonApiDotNetCoreExampleTests.csproj", "{CAF331F8-9255-4D72-A1A8-A54141E99F1E}"
23+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JsonApiDotNetCoreTests", "test\JsonApiDotNetCoreTests\JsonApiDotNetCoreTests.csproj", "{CAF331F8-9255-4D72-A1A8-A54141E99F1E}"
2424
EndProject
2525
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NoEntityFrameworkTests", "test\NoEntityFrameworkTests\NoEntityFrameworkTests.csproj", "{4F15A8F8-5BC6-45A1-BC51-03F921B726A4}"
2626
EndProject

Diff for: docs/usage/writing/bulk-batch-operations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Content-Type: application/vnd.api+json;ext="https://jsonapi.org/ext/atomic"
8181
}
8282
```
8383

84-
For example requests, see our suite of tests in JsonApiDotNetCoreExampleTests.IntegrationTests.AtomicOperations.
84+
For example requests, see our suite of tests in JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.
8585

8686
## Configuration
8787

Diff for: src/Examples/JsonApiDotNetCoreExample/Startups/EmptyStartup.cs

-24
This file was deleted.

Diff for: src/Examples/JsonApiDotNetCoreExample/Startups/Startup.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
namespace JsonApiDotNetCoreExample.Startups
1616
{
17-
public sealed class Startup : EmptyStartup
17+
public sealed class Startup
1818
{
1919
private readonly ICodeTimerSession _codeTimingSession;
2020
private readonly string _connectionString;
@@ -29,7 +29,7 @@ public Startup(IConfiguration configuration)
2929
}
3030

3131
// This method gets called by the runtime. Use this method to add services to the container.
32-
public override void ConfigureServices(IServiceCollection services)
32+
public void ConfigureServices(IServiceCollection services)
3333
{
3434
using (CodeTimingSessionManager.Current.Measure("Configure other (startup)"))
3535
{
@@ -63,7 +63,7 @@ public override void ConfigureServices(IServiceCollection services)
6363
}
6464

6565
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
66-
public override void Configure(IApplicationBuilder app, IWebHostEnvironment environment, ILoggerFactory loggerFactory)
66+
public void Configure(IApplicationBuilder app, IWebHostEnvironment environment, ILoggerFactory loggerFactory)
6767
{
6868
ILogger<Startup> logger = loggerFactory.CreateLogger<Startup>();
6969

Diff for: src/JsonApiDotNetCore/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Runtime.CompilerServices;
22

33
[assembly: InternalsVisibleTo("Benchmarks")]
4-
[assembly: InternalsVisibleTo("JsonApiDotNetCoreExampleTests")]
4+
[assembly: InternalsVisibleTo("JsonApiDotNetCoreTests")]
55
[assembly: InternalsVisibleTo("UnitTests")]
66
[assembly: InternalsVisibleTo("DiscoveryTests")]
77
[assembly: InternalsVisibleTo("TestBuildingBlocks")]

Diff for: test/JsonApiDotNetCoreTests/ExampleIntegrationTestContext.cs

-23
This file was deleted.

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/ArchiveTests.cs

+4-5
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@
77
using FluentAssertions;
88
using JsonApiDotNetCore.Configuration;
99
using JsonApiDotNetCore.Serialization.Objects;
10-
using JsonApiDotNetCoreExampleTests.Startups;
1110
using TestBuildingBlocks;
1211
using Xunit;
1312

14-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
13+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
1514
{
16-
public sealed class ArchiveTests : IClassFixture<ExampleIntegrationTestContext<TestableStartup<TelevisionDbContext>, TelevisionDbContext>>
15+
public sealed class ArchiveTests : IClassFixture<IntegrationTestContext<TestableStartup<TelevisionDbContext>, TelevisionDbContext>>
1716
{
18-
private readonly ExampleIntegrationTestContext<TestableStartup<TelevisionDbContext>, TelevisionDbContext> _testContext;
17+
private readonly IntegrationTestContext<TestableStartup<TelevisionDbContext>, TelevisionDbContext> _testContext;
1918
private readonly TelevisionFakers _fakers = new();
2019

21-
public ArchiveTests(ExampleIntegrationTestContext<TestableStartup<TelevisionDbContext>, TelevisionDbContext> testContext)
20+
public ArchiveTests(IntegrationTestContext<TestableStartup<TelevisionDbContext>, TelevisionDbContext> testContext)
2221
{
2322
_testContext = testContext;
2423

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/BroadcastComment.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using JsonApiDotNetCore.Resources;
44
using JsonApiDotNetCore.Resources.Annotations;
55

6-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
6+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
77
{
88
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
99
public sealed class BroadcastComment : Identifiable

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/BroadcastCommentsController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using JsonApiDotNetCore.Services;
44
using Microsoft.Extensions.Logging;
55

6-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
6+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
77
{
88
public sealed class BroadcastCommentsController : JsonApiController<BroadcastComment>
99
{

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionBroadcast.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using JsonApiDotNetCore.Resources;
55
using JsonApiDotNetCore.Resources.Annotations;
66

7-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
7+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
88
{
99
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
1010
public sealed class TelevisionBroadcast : Identifiable

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionBroadcastDefinition.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using JsonApiDotNetCore.Serialization.Objects;
1616
using Microsoft.EntityFrameworkCore;
1717

18-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
18+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
1919
{
2020
[UsedImplicitly(ImplicitUseKindFlags.InstantiatedNoFixedConstructorSignature)]
2121
public sealed class TelevisionBroadcastDefinition : JsonApiResourceDefinition<TelevisionBroadcast>

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionBroadcastsController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using JsonApiDotNetCore.Services;
44
using Microsoft.Extensions.Logging;
55

6-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
6+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
77
{
88
public sealed class TelevisionBroadcastsController : JsonApiController<TelevisionBroadcast>
99
{

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionDbContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using JetBrains.Annotations;
22
using Microsoft.EntityFrameworkCore;
33

4-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
4+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
55
{
66
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
77
public sealed class TelevisionDbContext : DbContext

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionFakers.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// @formatter:wrap_chained_method_calls chop_always
66
// @formatter:keep_existing_linebreaks true
77

8-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
8+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
99
{
1010
internal sealed class TelevisionFakers : FakerContainer
1111
{

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionNetwork.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using JsonApiDotNetCore.Resources;
44
using JsonApiDotNetCore.Resources.Annotations;
55

6-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
6+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
77
{
88
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
99
public sealed class TelevisionNetwork : Identifiable

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionNetworksController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using JsonApiDotNetCore.Services;
44
using Microsoft.Extensions.Logging;
55

6-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
6+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
77
{
88
public sealed class TelevisionNetworksController : JsonApiController<TelevisionNetwork>
99
{

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionStation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using JsonApiDotNetCore.Resources;
44
using JsonApiDotNetCore.Resources.Annotations;
55

6-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
6+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
77
{
88
[UsedImplicitly(ImplicitUseTargetFlags.Members)]
99
public sealed class TelevisionStation : Identifiable

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/Archiving/TelevisionStationsController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using JsonApiDotNetCore.Services;
44
using Microsoft.Extensions.Logging;
55

6-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Archiving
6+
namespace JsonApiDotNetCoreTests.IntegrationTests.Archiving
77
{
88
public sealed class TelevisionStationsController : JsonApiController<TelevisionStation>
99
{

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Controllers/AtomicConstrainedOperationsControllerTests.cs

+4-5
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@
33
using System.Threading.Tasks;
44
using FluentAssertions;
55
using JsonApiDotNetCore.Serialization.Objects;
6-
using JsonApiDotNetCoreExampleTests.Startups;
76
using TestBuildingBlocks;
87
using Xunit;
98

10-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.AtomicOperations.Controllers
9+
namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Controllers
1110
{
1211
public sealed class AtomicConstrainedOperationsControllerTests
13-
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
12+
: IClassFixture<IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
1413
{
15-
private readonly ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
14+
private readonly IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
1615
private readonly OperationsFakers _fakers = new();
1716

18-
public AtomicConstrainedOperationsControllerTests(ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
17+
public AtomicConstrainedOperationsControllerTests(IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
1918
{
2019
_testContext = testContext;
2120

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Controllers/CreateMusicTrackOperationsController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using Microsoft.AspNetCore.Mvc;
1414
using Microsoft.Extensions.Logging;
1515

16-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.AtomicOperations.Controllers
16+
namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Controllers
1717
{
1818
[DisableRoutingConvention]
1919
[Route("/operations/musicTracks/create")]

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceTests.cs

+4-6
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,18 @@
77
using FluentAssertions;
88
using FluentAssertions.Extensions;
99
using JsonApiDotNetCore.Serialization.Objects;
10-
using JsonApiDotNetCoreExample.Controllers;
11-
using JsonApiDotNetCoreExampleTests.Startups;
1210
using Microsoft.EntityFrameworkCore;
1311
using TestBuildingBlocks;
1412
using Xunit;
1513

16-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.AtomicOperations.Creating
14+
namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Creating
1715
{
18-
public sealed class AtomicCreateResourceTests : IClassFixture<ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
16+
public sealed class AtomicCreateResourceTests : IClassFixture<IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
1917
{
20-
private readonly ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
18+
private readonly IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
2119
private readonly OperationsFakers _fakers = new();
2220

23-
public AtomicCreateResourceTests(ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
21+
public AtomicCreateResourceTests(IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
2422
{
2523
_testContext = testContext;
2624

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceWithClientGeneratedIdTests.cs

+4-7
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,19 @@
55
using FluentAssertions;
66
using JsonApiDotNetCore.Configuration;
77
using JsonApiDotNetCore.Serialization.Objects;
8-
using JsonApiDotNetCoreExample.Controllers;
9-
using JsonApiDotNetCoreExampleTests.Startups;
108
using Microsoft.Extensions.DependencyInjection;
119
using TestBuildingBlocks;
1210
using Xunit;
1311

14-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.AtomicOperations.Creating
12+
namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Creating
1513
{
1614
public sealed class AtomicCreateResourceWithClientGeneratedIdTests
17-
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
15+
: IClassFixture<IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
1816
{
19-
private readonly ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
17+
private readonly IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
2018
private readonly OperationsFakers _fakers = new();
2119

22-
public AtomicCreateResourceWithClientGeneratedIdTests(
23-
ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
20+
public AtomicCreateResourceWithClientGeneratedIdTests(IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
2421
{
2522
_testContext = testContext;
2623

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceWithToManyRelationshipTests.cs

+4-7
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,19 @@
55
using System.Threading.Tasks;
66
using FluentAssertions;
77
using JsonApiDotNetCore.Serialization.Objects;
8-
using JsonApiDotNetCoreExample.Controllers;
9-
using JsonApiDotNetCoreExampleTests.Startups;
108
using Microsoft.EntityFrameworkCore;
119
using TestBuildingBlocks;
1210
using Xunit;
1311

14-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.AtomicOperations.Creating
12+
namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Creating
1513
{
1614
public sealed class AtomicCreateResourceWithToManyRelationshipTests
17-
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
15+
: IClassFixture<IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
1816
{
19-
private readonly ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
17+
private readonly IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
2018
private readonly OperationsFakers _fakers = new();
2119

22-
public AtomicCreateResourceWithToManyRelationshipTests(
23-
ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
20+
public AtomicCreateResourceWithToManyRelationshipTests(IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
2421
{
2522
_testContext = testContext;
2623

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Creating/AtomicCreateResourceWithToOneRelationshipTests.cs

+4-7
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,20 @@
66
using System.Threading.Tasks;
77
using FluentAssertions;
88
using JsonApiDotNetCore.Serialization.Objects;
9-
using JsonApiDotNetCoreExample.Controllers;
10-
using JsonApiDotNetCoreExampleTests.Startups;
119
using Microsoft.EntityFrameworkCore;
1210
using Newtonsoft.Json;
1311
using TestBuildingBlocks;
1412
using Xunit;
1513

16-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.AtomicOperations.Creating
14+
namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Creating
1715
{
1816
public sealed class AtomicCreateResourceWithToOneRelationshipTests
19-
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
17+
: IClassFixture<IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
2018
{
21-
private readonly ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
19+
private readonly IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
2220
private readonly OperationsFakers _fakers = new();
2321

24-
public AtomicCreateResourceWithToOneRelationshipTests(
25-
ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
22+
public AtomicCreateResourceWithToOneRelationshipTests(IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
2623
{
2724
_testContext = testContext;
2825

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Deleting/AtomicDeleteResourceTests.cs

+4-6
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,18 @@
66
using System.Threading.Tasks;
77
using FluentAssertions;
88
using JsonApiDotNetCore.Serialization.Objects;
9-
using JsonApiDotNetCoreExample.Controllers;
10-
using JsonApiDotNetCoreExampleTests.Startups;
119
using Microsoft.EntityFrameworkCore;
1210
using TestBuildingBlocks;
1311
using Xunit;
1412

15-
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.AtomicOperations.Deleting
13+
namespace JsonApiDotNetCoreTests.IntegrationTests.AtomicOperations.Deleting
1614
{
17-
public sealed class AtomicDeleteResourceTests : IClassFixture<ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
15+
public sealed class AtomicDeleteResourceTests : IClassFixture<IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext>>
1816
{
19-
private readonly ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
17+
private readonly IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> _testContext;
2018
private readonly OperationsFakers _fakers = new();
2119

22-
public AtomicDeleteResourceTests(ExampleIntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
20+
public AtomicDeleteResourceTests(IntegrationTestContext<TestableStartup<OperationsDbContext>, OperationsDbContext> testContext)
2321
{
2422
_testContext = testContext;
2523

0 commit comments

Comments
 (0)