Skip to content

Commit 0d58352

Browse files
author
Valeriy Nayda
committed
GraphQL-115: Travis api-functional tests automated execution introduced
1 parent 18f3d6a commit 0d58352

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev/travis/before_script.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,17 @@ case $TEST_SUITE in
152152
--admin-use-security-key=0 \
153153
--admin-password="123123q"
154154

155-
echo "Enabling production mode"
156-
php bin/magento deploy:mode:set production
157-
158155
echo "Prepare api-functional tests for running"
159156
cd dev/tests/api-functional
160-
cp -r _files/Magento/* ../../../app/code/Magento # Deploy and enable test modules before running tests
157+
cp -r _files/Magento/TestModuleGraphQl* ../../../app/code/Magento # Deploy and enable test modules before running tests
161158

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

165162
cd ../../..
166163
php bin/magento setup:upgrade
164+
165+
echo "Enabling production mode"
166+
php bin/magento deploy:mode:set production
167167
;;
168168
esac

0 commit comments

Comments
 (0)