Use sanity instead of assert in the fake plugin
The sanity function produces a log message when it fails, which may help us discover why we are getting SIGABRT in the fake plugin.
Related to https://redmine-old.labs.nic.cz/issues/4136.
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
The sanity function produces a log message when it fails, which may help us discover why we are getting SIGABRT in the fake plugin.
Related to https://redmine-old.labs.nic.cz/issues/4136.