Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

[BUGFIX] Fix the CLI test runner in TYPO3 7.6 #105

Merged
merged 1 commit into from
Aug 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- Auto-release to the TER (#67)

### Changed
- Streamline ext_localconf.php and ext_tables.php (#103)
- Streamline ext_localconf.php and ext_tables.php (#103, #105)
- Namespace the non-deprecated classes and interfaces (#96)
- Update PHPUnit to 5.7 (#93, #94)
- Stop using a PHAR for including libraries (#87)
Expand Down
11 changes: 11 additions & 0 deletions ext_localconf.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
defined('TYPO3_MODE') or die('Access denied.');

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['phpunit'] = [
'EXT:phpunit/Scripts/ManualCliTestRunner.php',
'_CLI_phpunit',
];
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['phpunit_ide_testrunner'] = [
'EXT:phpunit/Scripts/IdeTestRunner.php',
'_CLI_phpunit',
];
9 changes: 0 additions & 9 deletions ext_tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,3 @@
'Tx_Phpunit_BackEnd_Ajax->ajaxBroker'
);
}

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['phpunit'] = [
'EXT:phpunit/Scripts/ManualCliTestRunner.php',
'_CLI_phpunit',
];
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['phpunit_ide_testrunner'] = [
'EXT:phpunit/Scripts/IdeTestRunner.php',
'_CLI_phpunit',
];