forked from TYPO3-Console/TYPO3-Console
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Add tests that cover latest regressions
Add tests for TYPO3-Console#868 and TYPO3-Console#869
- Loading branch information
Showing
7 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,4 +70,5 @@ finder: | |
not-name: | ||
- "ext_emconf.php" | ||
- "ext_localconf.php" | ||
- "ext_tables.php" | ||
- "ComposerPackagesCommands.php" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Tests/Console/Functional/Fixtures/Extensions/ext_broken_ext_tables/ext_emconf.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
$EM_CONF[$_EXTKEY] = [ | ||
'title' => 'Test Extension', | ||
'description' => 'Extension fixture to prove extension compat check is working correctly', | ||
'category' => 'cli', | ||
'state' => 'stable', | ||
'uploadfolder' => 0, | ||
'createDirs' => '', | ||
'modify_tables' => '', | ||
'clearCacheOnLoad' => 0, | ||
'author' => 'Helmut Hummel', | ||
'author_email' => 'info@helhum.io', | ||
'author_company' => 'helhum.io', | ||
'version' => '0.1.0', | ||
'constraints' => [ | ||
'depends' => [ | ||
'typo3' => '9.5.0-', | ||
], | ||
'conflicts' => [ | ||
], | ||
'suggests' => [ | ||
], | ||
], | ||
]; |
2 changes: 2 additions & 0 deletions
2
Tests/Console/Functional/Fixtures/Extensions/ext_broken_ext_tables/ext_localconf.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?php | ||
defined('TYPO3_MODE') or die(); |
4 changes: 4 additions & 0 deletions
4
Tests/Console/Functional/Fixtures/Extensions/ext_broken_ext_tables/ext_tables.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
defined('TYPO3_MODE') or die(); | ||
|
||
throw new \Exception('broken', 1576697261); |