diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Fixtures/ApiTestFixture.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Fixtures/ApiTestFixture.cs index 4577d0cf2..f26b1922f 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Fixtures/ApiTestFixture.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Fixtures/ApiTestFixture.cs @@ -190,10 +190,10 @@ public void Dispose() } } - [CollectionDefinition(_apiTestCollectionName)] + [CollectionDefinition(ApiTestCollectionName)] public class ApiTestCollection : ICollectionFixture { - public const string _apiTestCollectionName = "ApiTestCollection"; + public const string ApiTestCollectionName = "ApiTestCollection"; // This class has no code, and is never created. Its purpose is simply // to be the place to apply [CollectionDefinition] and all the diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/CityTechnologyCollegesIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/CityTechnologyCollegesIntegrationTests.cs index 4a2fe88b9..91d18f17f 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/CityTechnologyCollegesIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/CityTechnologyCollegesIntegrationTests.cs @@ -14,7 +14,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class CityTechnologyCollegesIntegrationTests(ApiTestFixture apiTestFixture) { private readonly Fixture _autoFixture = new(); diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/CloseDecisionIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/CloseDecisionIntegrationTests.cs index f71bdcdd5..fb8a7b656 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/CloseDecisionIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/CloseDecisionIntegrationTests.cs @@ -18,7 +18,7 @@ namespace ConcernsCaseWork.API.Tests.Integration; -[Collection(ApiTestCollection._apiTestCollectionName)] +[Collection(ApiTestCollection.ApiTestCollectionName)] public class CloseDecisionIntegrationTests { private readonly HttpClient _client; diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/ConcernsCaseIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/ConcernsCaseIntegrationTests.cs index 97a3d3acc..b72fb1cdf 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/ConcernsCaseIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/ConcernsCaseIntegrationTests.cs @@ -20,7 +20,7 @@ namespace ConcernsCaseWork.API.Tests.Integration; -[Collection(ApiTestCollection._apiTestCollectionName)] +[Collection(ApiTestCollection.ApiTestCollectionName)] public class ConcernsCaseIntegrationTests(ApiTestFixture fixture) : IDisposable { private readonly Fixture _autoFixture = new(); diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/ConcernsRecordIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/ConcernsRecordIntegrationTests.cs index bb3eeab90..df0bc5fce 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/ConcernsRecordIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/ConcernsRecordIntegrationTests.cs @@ -19,7 +19,7 @@ using Xunit; namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class ConcernsRecordIntegrationTests : IDisposable { diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/DecisionIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/DecisionIntegrationTests.cs index 7ccbbe7eb..a707a9679 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/DecisionIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/DecisionIntegrationTests.cs @@ -18,7 +18,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class DecisionIntegrationTests { private readonly HttpClient _client; diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/DecisionOutcomeIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/DecisionOutcomeIntegrationTests.cs index 960a8fd14..ff8b16fc6 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/DecisionOutcomeIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/DecisionOutcomeIntegrationTests.cs @@ -20,7 +20,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class DecisionOutcomeIntegrationTests { private readonly HttpClient _client; diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/FinancialPlanIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/FinancialPlanIntegrationTests.cs index bd87f21a0..a57a44f48 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/FinancialPlanIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/FinancialPlanIntegrationTests.cs @@ -15,7 +15,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class FinancialPlanIntegrationTests { private readonly Fixture _fixture; diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/GetCasesByOwnerIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/GetCasesByOwnerIntegrationTests.cs index c65b89e79..5ae00a6b4 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/GetCasesByOwnerIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/GetCasesByOwnerIntegrationTests.cs @@ -16,7 +16,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class GetCasesByOwnerIntegrationTests:CaseWorkIntegrationTestsBase { diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/GetCasesByTrustIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/GetCasesByTrustIntegrationTests.cs index 6e3afccbf..2d5e4dc7f 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/GetCasesByTrustIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/GetCasesByTrustIntegrationTests.cs @@ -18,7 +18,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class GetCasesByTrustIntegrationTests { private readonly Fixture _fixture; diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NoticeToImproveIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NoticeToImproveIntegrationTests.cs index e2f88e0a0..c2c41bdac 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NoticeToImproveIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NoticeToImproveIntegrationTests.cs @@ -16,7 +16,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class NoticeToImproveIntegrationTests { private readonly Fixture _fixture; diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NtiUnderConsiderationIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NtiUnderConsiderationIntegrationTests.cs index 96d13f8de..c0ed8c997 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NtiUnderConsiderationIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NtiUnderConsiderationIntegrationTests.cs @@ -17,7 +17,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class NtiUnderConsiderationIntegrationTests(ApiTestFixture apiTestFixture) { private readonly Fixture _fixture = new(); diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NtiWarningLetterIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NtiWarningLetterIntegrationTests.cs index cb43b6d34..0d07d9eed 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NtiWarningLetterIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/NtiWarningLetterIntegrationTests.cs @@ -17,7 +17,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class NtiWarningLetterIntegrationTests { private readonly Fixture _fixture; diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/SrmaIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/SrmaIntegrationTests.cs index 992227c7c..4e2f6dbdd 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/SrmaIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/SrmaIntegrationTests.cs @@ -18,7 +18,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class SrmaIntegrationTests(ApiTestFixture apiTestFixture) { private readonly Fixture _fixture = new(); diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TargetedTrustEngagementIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TargetedTrustEngagementIntegrationTests.cs index 2c215eb1f..8c4e09990 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TargetedTrustEngagementIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TargetedTrustEngagementIntegrationTests.cs @@ -17,7 +17,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class TargetedTrustEngagementIntegrationTests { private readonly HttpClient _client; diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TeamCaseworkIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TeamCaseworkIntegrationTests.cs index 07378d7e7..14cb17b5c 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TeamCaseworkIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TeamCaseworkIntegrationTests.cs @@ -15,7 +15,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class TeamCaseworkIntegrationTests: CaseWorkIntegrationTestsBase { diff --git a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TrustFinancialForecastIntegrationTests.cs b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TrustFinancialForecastIntegrationTests.cs index 6b2b48a9c..0220b909c 100644 --- a/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TrustFinancialForecastIntegrationTests.cs +++ b/ConcernsCaseWork/ConcernsCaseWork.API.Tests/Integration/TrustFinancialForecastIntegrationTests.cs @@ -15,7 +15,7 @@ namespace ConcernsCaseWork.API.Tests.Integration { - [Collection(ApiTestCollection._apiTestCollectionName)] + [Collection(ApiTestCollection.ApiTestCollectionName)] public class TrustFinancialForecastIntegrationTests { private readonly Fixture _fixture;