Test writing is surfacing all the places where code references the "logged in" user and there are hard-coded values because this isn't set up yet. This, in turn, makes testing difficult to do properly. It's time to start looking more seriously at this and implement something that can be tested against, even if it isn't a permanent solution. It would be difficult to do worse than the existing hard-coded values.
Test writing is surfacing all the places where code references the "logged in" user and there are hard-coded values because this isn't set up yet. This, in turn, makes testing difficult to do properly. It's time to start looking more seriously at this and implement something that can be tested against, even if it isn't a permanent solution. It would be difficult to do worse than the existing hard-coded values.