platform/tests/create-local.sh
Andrey Sobolev d2604f4f23
Revert unne (#4060)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2023-11-24 16:48:28 +07:00

21 lines
737 B
Bash
Executable File

# Create workspace record in accounts
./tool-local.sh create-workspace sanity-ws -o SanityTest
# Create user record in accounts
./tool-local.sh create-account user1 -f John -l Appleseed -p 1234
./tool-local.sh confirm-email user1
# Create second user record in accounts
./tool-local.sh create-account user2 -f Kainin -l Numoin -p 1234
./tool-local.sh confirm-email user2
# Restore workspace contents in mongo/elastic
./tool-local.sh backup-restore ./sanity-ws sanity-ws
./tool-local.sh upgrade-workspace sanity-ws
# Re-assign user to workspace.
./tool-local.sh assign-workspace user1 sanity-ws
./tool-local.sh assign-workspace user2 sanity-ws
./tool-local.sh configure sanity-ws --enable=*
./tool-local.sh configure sanity-ws --list