mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	(At least when PhantomJS doesn't crash...) (imported from commit 62936b12883e4c6bbd3701da80783b4bffe46025)
		
			
				
	
	
		
			13 lines
		
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash -e
 | 
						|
 | 
						|
cd "$(dirname "$0")"/..
 | 
						|
 | 
						|
email=iago@zulip.com
 | 
						|
 | 
						|
password=$(python manage.py print_initial_password "$email" | fgrep "$email" | awk '{ print $2 }')
 | 
						|
cat > zerver/tests/frontend/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
 |