You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling the MemberFactory it creates a member with a language that is not always the same.
From a variability point of view this is interesting, but it does not fit assumptions from consumers of the factory. I was convinced that it would choose the default language of 'en' when called without arguments.
This had consequences in tests that did not specify the lang when creating a member.
Maybe we should consider providing a parameter that allows shuffling languages, of we provide the language with a fixed default value.
The text was updated successfully, but these errors were encountered:
When calling the
MemberFactory
it creates a member with a language that is not always the same.From a variability point of view this is interesting, but it does not fit assumptions from consumers of the factory. I was convinced that it would choose the default language of
'en'
when called without arguments.This had consequences in tests that did not specify the lang when creating a member.
Maybe we should consider providing a parameter that allows shuffling languages, of we provide the language with a fixed default value.
The text was updated successfully, but these errors were encountered: