mirror of https://github.com/zulip/zulip.git
14 lines
442 B
Bash
Executable File
14 lines
442 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
cd "$(dirname "$0")"/..
|
|
|
|
email=iago@zulip.com
|
|
|
|
password=$(python manage.py print_initial_password "$email" | fgrep "$email" | awk '{ print $2 }')
|
|
cat > frontend_tests/casper_lib/test_credentials.js <<EOF
|
|
// Generated by tools/generate-test-credentials
|
|
var test_credentials = {default_user: {username: 'iago@zulip.com', password: '$password'}};
|
|
try { exports.test_credentials = test_credentials; } catch (e) {}
|
|
EOF
|