Allow amateur performer profiles
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
f1c23965b2
commit
0728d2a3f7
20 changed files with 217 additions and 29 deletions
|
|
@ -51,6 +51,15 @@ public class PerformerCodeInputValidationTests
|
|||
Assert.Empty(Validate(pt));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Validate_accepts_an_empty_business_code_for_amateur_performers()
|
||||
{
|
||||
var profile = CreateBaseProfile();
|
||||
profile.SIREN = "";
|
||||
|
||||
Assert.Empty(Validate(profile));
|
||||
}
|
||||
|
||||
private static PerformerProfile CreateBaseProfile()
|
||||
{
|
||||
return new PerformerProfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue