TYPO3 6.2功能测试错误

时间:2014-04-04 10:08:51

标签: typo3-6.2.x

我想为我的扩展程序运行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

出了什么问题?

1 个答案:

答案 0 :(得分:0)

使用以下命令运行扩展程序的功能测试:

typo3conf/ext/phpunit/Composer/vendor/bin/phpunit -c typo3/sysext/core/Build/FunctionalTests.xml typo3conf/ext/<YOU_EXT_DIR>/Tests/Functional/