Commit ab9d9063 by Qiang Xue

Fixed test break.

parent dcc8d047
...@@ -8,6 +8,7 @@ else ...@@ -8,6 +8,7 @@ else
composer install --dev --prefer-dist -d apps/basic composer install --dev --prefer-dist -d apps/basic
cd apps/basic && composer require --dev codeception/codeception:2.0.* codeception/specify:* codeception/verify:* cd apps/basic && composer require --dev codeception/codeception:2.0.* codeception/specify:* codeception/verify:*
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
php vendor/bin/codecept build && cd ../.. php vendor/bin/codecept build && cd ../..
...@@ -17,6 +18,8 @@ else ...@@ -17,6 +18,8 @@ else
cd apps/advanced && composer require --dev codeception/codeception:2.0.* codeception/specify:* codeception/verify:* cd apps/advanced && composer require --dev codeception/codeception:2.0.* codeception/specify:* codeception/verify:*
./init --env=Development ./init --env=Development
sed -i s/root/travis/ common/config/main-local.php sed -i s/root/travis/ common/config/main-local.php
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" backend/config/main.php
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" backend/config/main.php
cd backend && php ../vendor/bin/codecept build cd backend && php ../vendor/bin/codecept build
cd ../common && php ../vendor/bin/codecept build cd ../common && php ../vendor/bin/codecept build
cd ../frontend && php ../vendor/bin/codecept build && cd ../../.. cd ../frontend && php ../vendor/bin/codecept build && cd ../../..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment