test written, but the validation expression is not yet correct

This commit is contained in:
2021-12-02 12:33:10 +01:00
parent 9aba4ea8f6
commit f971dc05eb
2 changed files with 27 additions and 107 deletions

View File

@@ -50,7 +50,7 @@ use UnexpectedValueException;
* })
* @Assert\GroupSequenceProvider
* @Assert\Expression(
* "this.isConfidential and this.getUser === NULL",
* "this.isConfidential && this.getUser && this.getStep === 'CONFIRMED'",
* message="If the accompanying course is confirmed and confidential, a referrer must remain assigned."
* )
*/