mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
this was only used for testing
This commit is contained in:
parent
63fa527fa4
commit
86f663e834
@ -194,8 +194,6 @@ class InvenTreeConfig(AppConfig):
|
||||
logger.info(f'User {str(new_user)} was created!')
|
||||
except IntegrityError as _e: # pragma: no cover
|
||||
logger.warning(f'The user "{add_user}" could not be created due to the following error:\n{str(_e)}')
|
||||
if settings.TESTING_ENV:
|
||||
raise _e
|
||||
|
||||
# do not try again
|
||||
settings.USER_ADDED = True
|
||||
|
Loading…
Reference in New Issue
Block a user