For testing: only on development, add account codes with predictable behaviour
To make interface/usability testing easier (without having to generate codes and keep track of them all the time), only when running at development time make sure the following codes with predictable behaviour are added to the codes database if they don’t already exist:
-
is-correct-0000
: Correct, unused code (is always accepted) -
is-incorrect-0000
: Incorrect code (rejected) -
is-used-0000
: Previously used code (this should result in a recognition of a continued session for the test domainavailable.gent
)