我想为我的扩展程序运行typo3功能测试,但是我收到以下错误:
Call to a member function admin_query() on a non-object in /x/y/z/TYPO3.DIR/typo3/sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php on line 493
出了什么问题?
答案 0 :(得分:0)
使用以下命令运行扩展程序的功能测试:
typo3conf/ext/phpunit/Composer/vendor/bin/phpunit -c typo3/sysext/core/Build/FunctionalTests.xml typo3conf/ext/<YOU_EXT_DIR>/Tests/Functional/