0
votes

I want to run typo3 functional tests for my extension, but I get the following error:

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

What's wrong?

1

1 Answers

0
votes

Use the following command to run functional tests of your extension:

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