🧐(CI) add dummy data to test-e2e job
To search some users we need to have some dummy data in the database. This commit adds dummy data to the database like users, teams, and identities.
This commit is contained in:
3
Makefile
3
Makefile
@@ -204,9 +204,10 @@ dbshell: ## connect to database shell
|
||||
docker compose exec app-dev python manage.py dbshell
|
||||
.PHONY: dbshell
|
||||
|
||||
resetdb: FLUSH_ARGS ?=
|
||||
resetdb: ## flush database and create a superuser "admin"
|
||||
@echo "$(BOLD)Flush database$(RESET)"
|
||||
@$(MANAGE) flush
|
||||
@$(MANAGE) flush $(FLUSH_ARGS)
|
||||
@${MAKE} superuser
|
||||
.PHONY: resetdb
|
||||
|
||||
|
||||
Reference in New Issue
Block a user