Skip to content

Commit

Permalink
Rename Faker project to reference AcademiesDb
Browse files Browse the repository at this point in the history
Use the same naming pattern as the `DfE.FindInformationAcademiesTrusts.Data.AcademiesDb` to make it clear that the Faker is a replacement for this data project in tests.
  • Loading branch information
lookupdaily committed Oct 12, 2023
1 parent d7e4829 commit 660065c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DfE.FindInformationAcademiesTrusts.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DfE.FindInformationAcademie
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DfE.FindInformationAcademiesTrusts.Data", "DfE.FindInformationAcademiesTrusts.Data\DfE.FindInformationAcademiesTrusts.Data.csproj", "{DC3BD883-B6DA-4C54-85CB-2CD5D261E8FE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DfE.FindInformationAcademiesTrusts.Faker", "tests\DfE.FindInformationAcademiesTrusts.Faker\DfE.FindInformationAcademiesTrusts.Faker.csproj", "{CE03C6BD-0160-4265-A287-3EC70103E4C9}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker", "tests\DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker\DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker.csproj", "{CE03C6BD-0160-4265-A287-3EC70103E4C9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using DfE.FindInformationAcademiesTrusts.Faker.Helpers;
using DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker.Helpers;

namespace DfE.FindInformationAcademiesTrusts.Faker;
namespace DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker;

public static class Data
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<RootNamespace>DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Bogus;
using DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker.Helpers;
using DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Models;
using DfE.FindInformationAcademiesTrusts.Faker.Helpers;

namespace DfE.FindInformationAcademiesTrusts.Faker.Fakers;
namespace DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker.Fakers;

public class GroupFaker
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace DfE.FindInformationAcademiesTrusts.Faker.Helpers;
namespace DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker.Helpers;

public class TrustToGenerate
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System.Text.Json;
using Bogus;
using DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker.Fakers;
using DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker.Helpers;
using DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Models;
using DfE.FindInformationAcademiesTrusts.Faker.Fakers;
using DfE.FindInformationAcademiesTrusts.Faker.Helpers;

namespace DfE.FindInformationAcademiesTrusts.Faker;
namespace DfE.FindInformationAcademiesTrusts.Data.AcademiesDb.Faker;

internal static class Program
{
Expand Down

0 comments on commit 660065c

Please sign in to comment.