Skip to content

Commit

Permalink
fix: correct errorcode renamestreename GAWR-5382
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Jan 16, 2024
1 parent 2c9b5da commit 5adad7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static class SourceStreetNameHasInvalidStatus

public static class DestinationStreetNameHasInvalidStatus
{
public const string Code = "StraatnaamAfgekeurdOfGehistoreerd";
public const string Code = "StraatnaamGehistoreerdOfAfgekeurd";
public const string Message = "Deze actie is enkel toegestaan op straatnamen met status 'voorgesteld' of 'inGebruik'.";

public static TicketError ToTicketError() => new TicketError(Message, Code);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public async Task WhenDestinationStreetNameHasInvalidStatus_ThenTicketingErrorIs
It.IsAny<Guid>(),
new TicketError(
"Deze actie is enkel toegestaan op straatnamen met status 'voorgesteld' of 'inGebruik'.",
"StraatnaamAfgekeurdOfGehistoreerd"),
"StraatnaamGehistoreerdOfAfgekeurd"),
CancellationToken.None));
}

Expand Down

0 comments on commit 5adad7c

Please sign in to comment.