Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
GraphQL-115: Travis api-functional tests automated execution introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
Valeriy Nayda committed Nov 16, 2018
1 parent 18f3d6a commit 0d58352
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev/travis/before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,17 @@ case $TEST_SUITE in
--admin-use-security-key=0 \
--admin-password="123123q"

echo "Enabling production mode"
php bin/magento deploy:mode:set production

echo "Prepare api-functional tests for running"
cd dev/tests/api-functional
cp -r _files/Magento/* ../../../app/code/Magento # Deploy and enable test modules before running tests
cp -r _files/Magento/TestModuleGraphQl* ../../../app/code/Magento # Deploy and enable test modules before running tests

cp ./phpunit_graphql.xml.dist ./phpunit.xml
sed -e "s?magento.url?${MAGENTO_HOST_NAME}?g" --in-place ./phpunit.xml

cd ../../..
php bin/magento setup:upgrade

echo "Enabling production mode"
php bin/magento deploy:mode:set production
;;
esac

0 comments on commit 0d58352

Please sign in to comment.