Skip to content

Commit

Permalink
refactor: revert to changes previously suspected to crash the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaVetnic committed Jan 19, 2024
1 parent 3154e0e commit e3d4a1a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class ApplicationOptions
[Required]
[MinLength(3)]
[MaxLength(3)]
public string AddressPrefix { get; set; }
public string AddressPrefix { get; set; } = null!;

[Required]
public PaginationOptions Pagination { get; set; } = new();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ namespace Backbone.Modules.Devices.Application.Clients.DTOs;

public class ClientDTO : IHaveCustomMapping
{
public string ClientId { get; set; }
public string DisplayName { get; set; }
public string DefaultTier { get; set; }
public string ClientId { get; set; } = null!;
public string DisplayName { get; set; } = null!;
public string DefaultTier { get; set; } = null!;
public DateTime CreatedAt { get; set; }
public int? MaxIdentities { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ namespace Backbone.Modules.Devices.Application.Devices.Commands.ChangePassword;

public class ChangePasswordCommand : IRequest
{
public string OldPassword { get; set; }
public string NewPassword { get; set; }
public required string OldPassword { get; set; }
public required string NewPassword { get; set; }
}

0 comments on commit e3d4a1a

Please sign in to comment.