Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelamo committed May 18, 2017
1 parent f7c82da commit e2aa21f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 18 deletions.
28 changes: 13 additions & 15 deletions copy_functional_tests_to_different_grails_versions.sh
Expand Up @@ -38,20 +38,18 @@ for grailsVersion in $GRAILS_VERSIONS; do

sdk use grails $GRAILS_VERSION

if [ -f "$TEMPLATE_FOLDER/$grailsVersion/grailsw" ];
then
for file in $S2_QUICKSTART_FILES; do
if [ -f "$TEMPLATE_FOLDER/$grailsVersion$file" ];
then
rm $TEMPLATE_FOLDER/$grailsVersion$file
fi
done
cd $TEMPLATE_FOLDER/$grailsVersion
grails s2-quickstart com.testapp TestUser TestRole TestRequestmap --salt
cd ../..
fi
for file in $TEMPLATE_FILES; do
cp $TEMPLATE_FOLDER$file $TEMPLATE_FOLDER/$grailsVersion$file
done
for file in $S2_QUICKSTART_FILES; do
if [ -f "$TEMPLATE_FOLDER/$grailsVersion$file" ];
then
rm $TEMPLATE_FOLDER/$grailsVersion$file
fi
done
cd $TEMPLATE_FOLDER/$grailsVersion
grails s2-quickstart com.testapp TestUser TestRole TestRequestmap --salt
cd ../..

for file in $TEMPLATE_FILES; do
cp $TEMPLATE_FOLDER$file $TEMPLATE_FOLDER/$grailsVersion$file
done
done

1 change: 1 addition & 0 deletions gradle.properties
@@ -1,4 +1,5 @@
grailsVersion=3.3.0.M1
gradleWrapperVersion=3.5
vcsUrl=https://github.com/grails-plugins/grails-spring-security-core
websiteUrl=https://github.com/grails-plugins/grails-spring-security-core
issueTrackerUrl=https://github.com/grails-plugins/grails-spring-security-core/issues
4 changes: 2 additions & 2 deletions integration-test-app/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Fri Nov 27 23:09:32 CET 2015
#Thu May 18 09:34:40 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-all.zip
2 changes: 1 addition & 1 deletion run-all-tests.sh
Expand Up @@ -12,4 +12,4 @@ integration-test-app/run_integration_tests.sh

./copy_functional_tests_to_different_grails_versions.sh

# ./run_functional_tests.sh
./run_functional_tests.sh

0 comments on commit e2aa21f

Please sign in to comment.