Skip to content

Commit 86bac20

Browse files
author
Bart Koelman
committed
Renamed IntegrationTestContext to ExampleIntegrationTestContext because it has a strong dependency on EmptyStartup from JsonApiDotNetCoreExamples project.
1 parent 53f8c82 commit 86bac20

File tree

67 files changed

+206
-209
lines changed

Some content is hidden

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

67 files changed

+206
-209
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using JsonApiDotNetCoreExample;
2+
using Microsoft.EntityFrameworkCore;
3+
using TestBuildingBlocks;
4+
5+
namespace JsonApiDotNetCoreExampleTests
6+
{
7+
/// <summary>
8+
/// A test context for tests that reference the JsonApiDotNetCoreExample project.
9+
/// </summary>
10+
/// <typeparam name="TStartup">The server Startup class, which can be defined in the test project.</typeparam>
11+
/// <typeparam name="TDbContext">The EF Core database context, which can be defined in the test project.</typeparam>
12+
public class ExampleIntegrationTestContext<TStartup, TDbContext> : BaseIntegrationTestContext<TStartup, EmptyStartup, TDbContext>
13+
where TStartup : class
14+
where TDbContext : DbContext
15+
{
16+
}
17+
}

test/JsonApiDotNetCoreExampleTests/IntegrationTestContext.cs

Lines changed: 0 additions & 20 deletions
This file was deleted.

test/JsonApiDotNetCoreExampleTests/IntegrationTests/CompositeKeys/CompositeKeyTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.CompositeKeys
1414
{
1515
public sealed class CompositeKeyTests
16-
: IClassFixture<IntegrationTestContext<TestableStartup<CompositeDbContext>, CompositeDbContext>>
16+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<CompositeDbContext>, CompositeDbContext>>
1717
{
18-
private readonly IntegrationTestContext<TestableStartup<CompositeDbContext>, CompositeDbContext> _testContext;
18+
private readonly ExampleIntegrationTestContext<TestableStartup<CompositeDbContext>, CompositeDbContext> _testContext;
1919

20-
public CompositeKeyTests(IntegrationTestContext<TestableStartup<CompositeDbContext>, CompositeDbContext> testContext)
20+
public CompositeKeyTests(ExampleIntegrationTestContext<TestableStartup<CompositeDbContext>, CompositeDbContext> testContext)
2121
{
2222
_testContext = testContext;
2323

test/JsonApiDotNetCoreExampleTests/IntegrationTests/ContentNegotiation/AcceptHeaderTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.ContentNegotiation
1111
{
1212
public sealed class AcceptHeaderTests
13-
: IClassFixture<IntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext>>
13+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext>>
1414
{
15-
private readonly IntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext> _testContext;
15+
private readonly ExampleIntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext> _testContext;
1616

17-
public AcceptHeaderTests(IntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext> testContext)
17+
public AcceptHeaderTests(ExampleIntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext> testContext)
1818
{
1919
_testContext = testContext;
2020
}

test/JsonApiDotNetCoreExampleTests/IntegrationTests/ContentNegotiation/ContentTypeHeaderTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.ContentNegotiation
1010
{
1111
public sealed class ContentTypeHeaderTests
12-
: IClassFixture<IntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext>>
12+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext>>
1313
{
14-
private readonly IntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext> _testContext;
14+
private readonly ExampleIntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext> _testContext;
1515

16-
public ContentTypeHeaderTests(IntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext> testContext)
16+
public ContentTypeHeaderTests(ExampleIntegrationTestContext<TestableStartup<PolicyDbContext>, PolicyDbContext> testContext)
1717
{
1818
_testContext = testContext;
1919
}

test/JsonApiDotNetCoreExampleTests/IntegrationTests/ControllerActionResults/ActionResultTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.ControllerActionResults
99
{
1010
public sealed class ActionResultTests
11-
: IClassFixture<IntegrationTestContext<TestableStartup<ActionResultDbContext>, ActionResultDbContext>>
11+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<ActionResultDbContext>, ActionResultDbContext>>
1212
{
13-
private readonly IntegrationTestContext<TestableStartup<ActionResultDbContext>, ActionResultDbContext> _testContext;
13+
private readonly ExampleIntegrationTestContext<TestableStartup<ActionResultDbContext>, ActionResultDbContext> _testContext;
1414

15-
public ActionResultTests(IntegrationTestContext<TestableStartup<ActionResultDbContext>, ActionResultDbContext> testContext)
15+
public ActionResultTests(ExampleIntegrationTestContext<TestableStartup<ActionResultDbContext>, ActionResultDbContext> testContext)
1616
{
1717
_testContext = testContext;
1818
}

test/JsonApiDotNetCoreExampleTests/IntegrationTests/CustomRoutes/ApiControllerAttributeTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.CustomRoutes
99
{
1010
public sealed class ApiControllerAttributeTests
11-
: IClassFixture<IntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext>>
11+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext>>
1212
{
13-
private readonly IntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext> _testContext;
13+
private readonly ExampleIntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext> _testContext;
1414

15-
public ApiControllerAttributeTests(IntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext> testContext)
15+
public ApiControllerAttributeTests(ExampleIntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext> testContext)
1616
{
1717
_testContext = testContext;
1818
}

test/JsonApiDotNetCoreExampleTests/IntegrationTests/CustomRoutes/CustomRouteTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.CustomRoutes
1010
{
1111
public sealed class CustomRouteTests
12-
: IClassFixture<IntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext>>
12+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext>>
1313
{
14-
private readonly IntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext> _testContext;
14+
private readonly ExampleIntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext> _testContext;
1515
private readonly CustomRouteFakers _fakers = new CustomRouteFakers();
1616

17-
public CustomRouteTests(IntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext> testContext)
17+
public CustomRouteTests(ExampleIntegrationTestContext<TestableStartup<CustomRouteDbContext>, CustomRouteDbContext> testContext)
1818
{
1919
_testContext = testContext;
2020
}

test/JsonApiDotNetCoreExampleTests/IntegrationTests/EagerLoading/EagerLoadingTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.EagerLoading
1111
{
1212
public sealed class EagerLoadingTests
13-
: IClassFixture<IntegrationTestContext<TestableStartup<EagerLoadingDbContext>, EagerLoadingDbContext>>
13+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<EagerLoadingDbContext>, EagerLoadingDbContext>>
1414
{
15-
private readonly IntegrationTestContext<TestableStartup<EagerLoadingDbContext>, EagerLoadingDbContext> _testContext;
15+
private readonly ExampleIntegrationTestContext<TestableStartup<EagerLoadingDbContext>, EagerLoadingDbContext> _testContext;
1616
private readonly EagerLoadingFakers _fakers = new EagerLoadingFakers();
1717

18-
public EagerLoadingTests(IntegrationTestContext<TestableStartup<EagerLoadingDbContext>, EagerLoadingDbContext> testContext)
18+
public EagerLoadingTests(ExampleIntegrationTestContext<TestableStartup<EagerLoadingDbContext>, EagerLoadingDbContext> testContext)
1919
{
2020
_testContext = testContext;
2121

test/JsonApiDotNetCoreExampleTests/IntegrationTests/ExceptionHandling/ExceptionHandlerTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.ExceptionHandling
1515
{
1616
public sealed class ExceptionHandlerTests
17-
: IClassFixture<IntegrationTestContext<TestableStartup<ErrorDbContext>, ErrorDbContext>>
17+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<ErrorDbContext>, ErrorDbContext>>
1818
{
19-
private readonly IntegrationTestContext<TestableStartup<ErrorDbContext>, ErrorDbContext> _testContext;
19+
private readonly ExampleIntegrationTestContext<TestableStartup<ErrorDbContext>, ErrorDbContext> _testContext;
2020

21-
public ExceptionHandlerTests(IntegrationTestContext<TestableStartup<ErrorDbContext>, ErrorDbContext> testContext)
21+
public ExceptionHandlerTests(ExampleIntegrationTestContext<TestableStartup<ErrorDbContext>, ErrorDbContext> testContext)
2222
{
2323
_testContext = testContext;
2424

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Filtering/FilterDataTypeTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Filtering
1515
{
16-
public sealed class FilterDataTypeTests : IClassFixture<IntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext>>
16+
public sealed class FilterDataTypeTests : IClassFixture<ExampleIntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext>>
1717
{
18-
private readonly IntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext> _testContext;
18+
private readonly ExampleIntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext> _testContext;
1919

20-
public FilterDataTypeTests(IntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext> testContext)
20+
public FilterDataTypeTests(ExampleIntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext> testContext)
2121
{
2222
_testContext = testContext;
2323

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Filtering/FilterDepthTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Filtering
1717
{
18-
public sealed class FilterDepthTests : IClassFixture<IntegrationTestContext<Startup, AppDbContext>>
18+
public sealed class FilterDepthTests : IClassFixture<ExampleIntegrationTestContext<Startup, AppDbContext>>
1919
{
20-
private readonly IntegrationTestContext<Startup, AppDbContext> _testContext;
20+
private readonly ExampleIntegrationTestContext<Startup, AppDbContext> _testContext;
2121

22-
public FilterDepthTests(IntegrationTestContext<Startup, AppDbContext> testContext)
22+
public FilterDepthTests(ExampleIntegrationTestContext<Startup, AppDbContext> testContext)
2323
{
2424
_testContext = testContext;
2525

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Filtering/FilterOperatorTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414

1515
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Filtering
1616
{
17-
public sealed class FilterOperatorTests : IClassFixture<IntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext>>
17+
public sealed class FilterOperatorTests : IClassFixture<ExampleIntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext>>
1818
{
19-
private readonly IntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext> _testContext;
19+
private readonly ExampleIntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext> _testContext;
2020

21-
public FilterOperatorTests(IntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext> testContext)
21+
public FilterOperatorTests(ExampleIntegrationTestContext<TestableStartup<FilterDbContext>, FilterDbContext> testContext)
2222
{
2323
_testContext = testContext;
2424

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Filtering/FilterTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Filtering
1414
{
15-
public sealed class FilterTests : IClassFixture<IntegrationTestContext<Startup, AppDbContext>>
15+
public sealed class FilterTests : IClassFixture<ExampleIntegrationTestContext<Startup, AppDbContext>>
1616
{
17-
private readonly IntegrationTestContext<Startup, AppDbContext> _testContext;
17+
private readonly ExampleIntegrationTestContext<Startup, AppDbContext> _testContext;
1818

19-
public FilterTests(IntegrationTestContext<Startup, AppDbContext> testContext)
19+
public FilterTests(ExampleIntegrationTestContext<Startup, AppDbContext> testContext)
2020
{
2121
_testContext = testContext;
2222

test/JsonApiDotNetCoreExampleTests/IntegrationTests/IdObfuscation/IdObfuscationTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.IdObfuscation
1010
{
1111
public sealed class IdObfuscationTests
12-
: IClassFixture<IntegrationTestContext<TestableStartup<ObfuscationDbContext>, ObfuscationDbContext>>
12+
: IClassFixture<ExampleIntegrationTestContext<TestableStartup<ObfuscationDbContext>, ObfuscationDbContext>>
1313
{
14-
private readonly IntegrationTestContext<TestableStartup<ObfuscationDbContext>, ObfuscationDbContext> _testContext;
14+
private readonly ExampleIntegrationTestContext<TestableStartup<ObfuscationDbContext>, ObfuscationDbContext> _testContext;
1515
private readonly ObfuscationFakers _fakers = new ObfuscationFakers();
1616

17-
public IdObfuscationTests(IntegrationTestContext<TestableStartup<ObfuscationDbContext>, ObfuscationDbContext> testContext)
17+
public IdObfuscationTests(ExampleIntegrationTestContext<TestableStartup<ObfuscationDbContext>, ObfuscationDbContext> testContext)
1818
{
1919
_testContext = testContext;
2020
}

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Includes/IncludeTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Includes
1818
{
19-
public sealed class IncludeTests : IClassFixture<IntegrationTestContext<Startup, AppDbContext>>
19+
public sealed class IncludeTests : IClassFixture<ExampleIntegrationTestContext<Startup, AppDbContext>>
2020
{
21-
private readonly IntegrationTestContext<Startup, AppDbContext> _testContext;
21+
private readonly ExampleIntegrationTestContext<Startup, AppDbContext> _testContext;
2222

23-
public IncludeTests(IntegrationTestContext<Startup, AppDbContext> testContext)
23+
public IncludeTests(ExampleIntegrationTestContext<Startup, AppDbContext> testContext)
2424
{
2525
_testContext = testContext;
2626

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Links/AbsoluteLinksWithNamespaceTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Links
1414
{
1515
public sealed class AbsoluteLinksWithNamespaceTests
16-
: IClassFixture<IntegrationTestContext<AbsoluteLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext>>
16+
: IClassFixture<ExampleIntegrationTestContext<AbsoluteLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext>>
1717
{
18-
private readonly IntegrationTestContext<AbsoluteLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext> _testContext;
18+
private readonly ExampleIntegrationTestContext<AbsoluteLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext> _testContext;
1919
private readonly LinksFakers _fakers = new LinksFakers();
2020

21-
public AbsoluteLinksWithNamespaceTests(IntegrationTestContext<AbsoluteLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext> testContext)
21+
public AbsoluteLinksWithNamespaceTests(ExampleIntegrationTestContext<AbsoluteLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext> testContext)
2222
{
2323
_testContext = testContext;
2424

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Links/AbsoluteLinksWithoutNamespaceTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Links
1414
{
1515
public sealed class AbsoluteLinksWithoutNamespaceTests
16-
: IClassFixture<IntegrationTestContext<AbsoluteLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext>>
16+
: IClassFixture<ExampleIntegrationTestContext<AbsoluteLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext>>
1717
{
18-
private readonly IntegrationTestContext<AbsoluteLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext> _testContext;
18+
private readonly ExampleIntegrationTestContext<AbsoluteLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext> _testContext;
1919
private readonly LinksFakers _fakers = new LinksFakers();
2020

21-
public AbsoluteLinksWithoutNamespaceTests(IntegrationTestContext<AbsoluteLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext> testContext)
21+
public AbsoluteLinksWithoutNamespaceTests(ExampleIntegrationTestContext<AbsoluteLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext> testContext)
2222
{
2323
_testContext = testContext;
2424

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Links/RelativeLinksWithNamespaceTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Links
1414
{
1515
public sealed class RelativeLinksWithNamespaceTests
16-
: IClassFixture<IntegrationTestContext<RelativeLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext>>
16+
: IClassFixture<ExampleIntegrationTestContext<RelativeLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext>>
1717
{
18-
private readonly IntegrationTestContext<RelativeLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext> _testContext;
18+
private readonly ExampleIntegrationTestContext<RelativeLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext> _testContext;
1919
private readonly LinksFakers _fakers = new LinksFakers();
2020

21-
public RelativeLinksWithNamespaceTests(IntegrationTestContext<RelativeLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext> testContext)
21+
public RelativeLinksWithNamespaceTests(ExampleIntegrationTestContext<RelativeLinksInApiNamespaceStartup<LinksDbContext>, LinksDbContext> testContext)
2222
{
2323
_testContext = testContext;
2424

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Links/RelativeLinksWithoutNamespaceTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Links
1414
{
1515
public sealed class RelativeLinksWithoutNamespaceTests
16-
: IClassFixture<IntegrationTestContext<RelativeLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext>>
16+
: IClassFixture<ExampleIntegrationTestContext<RelativeLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext>>
1717
{
18-
private readonly IntegrationTestContext<RelativeLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext> _testContext;
18+
private readonly ExampleIntegrationTestContext<RelativeLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext> _testContext;
1919
private readonly LinksFakers _fakers = new LinksFakers();
2020

21-
public RelativeLinksWithoutNamespaceTests(IntegrationTestContext<RelativeLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext> testContext)
21+
public RelativeLinksWithoutNamespaceTests(ExampleIntegrationTestContext<RelativeLinksNoNamespaceStartup<LinksDbContext>, LinksDbContext> testContext)
2222
{
2323
_testContext = testContext;
2424

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Logging/LoggingTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Logging
1414
{
15-
public sealed class LoggingTests : IClassFixture<IntegrationTestContext<Startup, AppDbContext>>
15+
public sealed class LoggingTests : IClassFixture<ExampleIntegrationTestContext<Startup, AppDbContext>>
1616
{
17-
private readonly IntegrationTestContext<Startup, AppDbContext> _testContext;
17+
private readonly ExampleIntegrationTestContext<Startup, AppDbContext> _testContext;
1818

19-
public LoggingTests(IntegrationTestContext<Startup, AppDbContext> testContext)
19+
public LoggingTests(ExampleIntegrationTestContext<Startup, AppDbContext> testContext)
2020
{
2121
_testContext = testContext;
2222

test/JsonApiDotNetCoreExampleTests/IntegrationTests/Meta/ResourceMetaTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
namespace JsonApiDotNetCoreExampleTests.IntegrationTests.Meta
1313
{
14-
public sealed class ResourceMetaTests : IClassFixture<IntegrationTestContext<Startup, AppDbContext>>
14+
public sealed class ResourceMetaTests : IClassFixture<ExampleIntegrationTestContext<Startup, AppDbContext>>
1515
{
16-
private readonly IntegrationTestContext<Startup, AppDbContext> _testContext;
16+
private readonly ExampleIntegrationTestContext<Startup, AppDbContext> _testContext;
1717

18-
public ResourceMetaTests(IntegrationTestContext<Startup, AppDbContext> testContext)
18+
public ResourceMetaTests(ExampleIntegrationTestContext<Startup, AppDbContext> testContext)
1919
{
2020
_testContext = testContext;
2121
}

0 commit comments

Comments
 (0)