Skip to content

Commit

Permalink
Reverted wrongly renamed const var
Browse files Browse the repository at this point in the history
  • Loading branch information
mshakirdfe committed Jan 7, 2025
1 parent 00d7d3f commit 8d15e61
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ public void Dispose()
}
}

[CollectionDefinition(_apiTestCollectionName)]
[CollectionDefinition(ApiTestCollectionName)]
public class ApiTestCollection : ICollectionFixture<ApiTestFixture>
{
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace ConcernsCaseWork.API.Tests.Integration;

[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class CloseDecisionIntegrationTests
{
private readonly HttpClient _client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using Xunit;
namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class ConcernsRecordIntegrationTests : IDisposable
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class DecisionIntegrationTests
{
private readonly HttpClient _client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class DecisionOutcomeIntegrationTests
{
private readonly HttpClient _client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class FinancialPlanIntegrationTests
{
private readonly Fixture _fixture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class GetCasesByOwnerIntegrationTests:CaseWorkIntegrationTestsBase
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class GetCasesByTrustIntegrationTests
{
private readonly Fixture _fixture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class NoticeToImproveIntegrationTests
{
private readonly Fixture _fixture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class NtiWarningLetterIntegrationTests
{
private readonly Fixture _fixture;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class TargetedTrustEngagementIntegrationTests
{
private readonly HttpClient _client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class TeamCaseworkIntegrationTests: CaseWorkIntegrationTestsBase
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace ConcernsCaseWork.API.Tests.Integration
{
[Collection(ApiTestCollection._apiTestCollectionName)]
[Collection(ApiTestCollection.ApiTestCollectionName)]
public class TrustFinancialForecastIntegrationTests
{
private readonly Fixture _fixture;
Expand Down

0 comments on commit 8d15e61

Please sign in to comment.