From fc9d7787b197f12685d4b9da0cb453dd5797ddd4 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Tue, 9 Apr 2013 12:04:45 +1200 Subject: [PATCH] Updated demo user setup --- test/support/test_helper.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/support/test_helper.sh b/test/support/test_helper.sh index 9838938..7407b59 100644 --- a/test/support/test_helper.sh +++ b/test/support/test_helper.sh @@ -3,11 +3,10 @@ orig_cwd="$PWD" # Load SCM Breeze helpers source "$scmbDir/lib/git/helpers.sh" +# Set up demo git user if not configured if [ -z "$(git config --global user.email)" ]; then git config --global user.email "testuser@example.com" -fi -if [ -z "$(git config --global user.name)" ]; then - git config --global user.name "Test User" + git config --global user.name "Test User" fi #