platform/tests/create-local.sh
Pete Anøther e361325a73
UBER-1083: Use hours and minutes to present less than a day durations (#4111)
Signed-off-by: Petr Vyazovetskiy <develop.pit@gmail.com>
2023-12-01 14:27:56 +07:00

22 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 Dirak -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