diff --git a/Makefile b/Makefile index 28e67aabe9f8e48786b5f6ed51df9b1ef858392b..2b0052f1ca8c38ef3dd742253504eecd6ecc0c46 100644 --- a/Makefile +++ b/Makefile @@ -117,15 +117,15 @@ phpunit: cd extension; composer update # create deprecated test config files and get test database password from environment variable - cp -v extension/Tests/phpunit_config.qfq.php extension/config.qfq.php; sed -i "s/#PHPUNIT_PASSWORD#/$(PHPUNIT_MYSQL_PASSWORD)/" extension/config.qfq.php - cp -v extension/Tests/phpunit_LocalConfiguration.php extension/LocalConfiguration.php + # cp -v extension/Tests/phpunit_config.qfq.php extension/config.qfq.php; sed -i "s/#PHPUNIT_PASSWORD#/$(PHPUNIT_MYSQL_PASSWORD)/" extension/config.qfq.php + # cp -v extension/Tests/phpunit_LocalConfiguration.php extension/LocalConfiguration.php # mock typo3 directory structure mkdir -p typo3conf/ext/qfq mv -v extension/* typo3conf/ext/qfq/ # create new kind of config (qfq.json) - cp -v typo3conf/ext/qfq/Tests/phpunit_qfq.json typo3conf/ext/qfq.json; sed -i "s/#PHPUNIT_PASSWORD#/$(PHPUNIT_MYSQL_PASSWORD)/" typo3conf/ext/qfq.json + # cp -v typo3conf/ext/qfq/Tests/phpunit_qfq.json typo3conf/ext/qfq.json; sed -i "s/#PHPUNIT_PASSWORD#/$(PHPUNIT_MYSQL_PASSWORD)/" typo3conf/ext/qfq.json cp -v typo3conf/ext/qfq/Tests/phpunit_qfq.json ../qfq.json; sed -i "s/#PHPUNIT_PASSWORD#/$(PHPUNIT_MYSQL_PASSWORD)/" ../qfq.json cp -v typo3conf/ext/qfq/Tests/phpunit_LocalConfiguration.php typo3conf/LocalConfiguration.php