Skip to content

Commit

Permalink
Tidy up and address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
martapederiva committed Apr 25, 2024
1 parent b924259 commit cebad9e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void DomainTempAccommodationInfoHasPropertiesSet()

//assert
createdDomaninTAInfo.BookingStatus.Should().Be(aQueryableTAInfo.BookingStatus);
createdDomaninTAInfo.AssignedOfficer.Should().Be(aQueryableTAInfo.AssignedOfficer);
createdDomaninTAInfo.AssignedOfficer.Should().BeEquivalentTo(aQueryableTAInfo.AssignedOfficer);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Hackney.Shared.HousingSearch.Tests
{
public class TAOfficerTests
public class TemporaryAccommodationOfficerTests
{
private Fixture _fixture = new Fixture();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Hackney.Shared.HousingSearch.Domain.Tenure
public class TempAccommodationInfo
{
public string BookingStatus { get; set; }
public TempAccommodationOfficer AssignedOfficer { get; set; }
public QueryableTempAccommodationOfficer AssignedOfficer { get; set; }

public static TempAccommodationInfo Create(QueryableTempAccommodationInfo TempAccommodationInfo)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using Hackney.Shared.HousingSearch.Domain.Tenure;

namespace Hackney.Shared.HousingSearch.Gateways.Models.Tenures
{
public class QueryableTempAccommodationInfo
{
public string BookingStatus { get; set; }
public TempAccommodationOfficer AssignedOfficer { get; set; }
public QueryableTempAccommodationOfficer AssignedOfficer { get; set; }
}
}

0 comments on commit cebad9e

Please sign in to comment.