mirror of https://github.com/zulip/zulip.git
Move test_credentials.js into casper_tests/.
This commit is contained in:
parent
2294063361
commit
01f0d362d9
|
@ -13,7 +13,6 @@ stats/
|
|||
zerver/fixtures/available-migrations
|
||||
zerver/fixtures/migration-status
|
||||
zerver/fixtures/test_data1.json
|
||||
frontend_tests/test_credentials.js
|
||||
.kdev4
|
||||
zulip.kdev4
|
||||
memcached_prefix
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
/server.log
|
||||
/test_credentials.js
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var common = require('../common.js').common;
|
||||
var test_credentials = require('../test_credentials.js').test_credentials;
|
||||
var test_credentials = require('./test_credentials.js').test_credentials;
|
||||
|
||||
common.start_and_log_in();
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ cd "$(dirname "$0")"/..
|
|||
email=iago@zulip.com
|
||||
|
||||
password=$(python manage.py print_initial_password "$email" | fgrep "$email" | awk '{ print $2 }')
|
||||
cat > frontend_tests/test_credentials.js <<EOF
|
||||
cat > frontend_tests/casper_tests/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) {}
|
||||
|
|
Loading…
Reference in New Issue