t3x-rte_ckeditor_image
t3x-rte_ckeditor_image copied to clipboard
tests fail with rte_ckeditor dependency in ext_emconf.php
Running
$ Build/Scripts/runTests.sh -p 8.1 -t 12 -s functional
with ext_emconf.php
<?php
$EM_CONF[$_EXTKEY] = [
'title' => 'CKEditor Rich Text Editor Image Support',
'description' => 'Adds FAL image support to CKEditor for TYPO3.',
'category' => 'be',
'state' => 'stable',
'clearCacheOnLoad' => 0,
'author' => 'Sebastian Koschel',
'author_email' => '[email protected]',
'version' => '12.0.2',
'constraints' => [
'depends' => [
'php' => '8.1.0-8.9.99',
'typo3' => '12.4.0-12.4.99',
'cms_rte_ckeditor' => '12.4.0-12.4.99',
],
'conflicts' => [],
'suggests' => [
'setup' => '',
],
],
];
does not report any problem. But users complain issues with TYPO3 installation: #292
Running
$ Build/Scripts/runTests.sh -p 8.1 -t 12 -s functional
with ext_emconf.php
<?php
$EM_CONF[$_EXTKEY] = [
'title' => 'CKEditor Rich Text Editor Image Support',
'description' => 'Adds FAL image support to CKEditor for TYPO3.',
'category' => 'be',
'state' => 'stable',
'clearCacheOnLoad' => 0,
'author' => 'Sebastian Koschel',
'author_email' => '[email protected]',
'version' => '12.0.2',
'constraints' => [
'depends' => [
'php' => '8.1.0-8.9.99',
'typo3' => '12.4.0-12.4.99',
'rte_ckeditor' => '12.4.0-12.4.99',
],
'conflicts' => [],
'suggests' => [
'setup' => '',
],
],
];
reports:
PHPUnit 10.5.29 by Sebastian Bergmann and contributors.
Runtime: PHP 8.1.29
Configuration: /workspaces/t3x-rte_ckeditor_image/Build/phpunit/FunctionalTests.xml
E 1 / 1 (100%)
Time: 00:00.098, Memory: 10.00 MB
There was 1 error:
1) Netresearch\RteCKEditorImage\Tests\Functional\DataHandling\RteImageSoftReferenceParserTest::updateReferenceIndexAddsIndexEntryForImage
TYPO3\TestingFramework\Core\Exception: Package "rte_ckeditor_image" depends on package "rte_ckeditor" which does not exist.
/workspaces/t3x-rte_ckeditor_image/.Build/vendor/typo3/testing-framework/Classes/Core/PackageCollection.php:267
/workspaces/t3x-rte_ckeditor_image/.Build/vendor/typo3/testing-framework/Classes/Core/PackageCollection.php:232
/workspaces/t3x-rte_ckeditor_image/.Build/vendor/typo3/testing-framework/Classes/Core/PackageCollection.php:123
/workspaces/t3x-rte_ckeditor_image/.Build/vendor/typo3/testing-framework/Classes/Core/PackageCollection.php:102
/workspaces/t3x-rte_ckeditor_image/.Build/vendor/typo3/testing-framework/Classes/Core/Testbase.php:641
/workspaces/t3x-rte_ckeditor_image/.Build/vendor/typo3/testing-framework/Classes/Core/Functional/FunctionalTestCase.php:366
/workspaces/t3x-rte_ckeditor_image/.Build/bin/phpunit:122
ERRORS!
Tests: 1, Assertions: 0, Errors: 1.
###########################################################################
Result of functional
Environment: local
PHP: 8.1
TYPO3: 12
CONTAINER_BIN: docker
DBMS: sqlite driver pdo_sqlite
FAILURE
###########################################################################
keys in $this->packages
in /workspaces/t3x-rte_ckeditor_image/.Build/vendor/typo3/testing-framework/Classes/Core/PackageCollection.php:267
are the same in both cases:
(
[0] => core
[1] => backend
[2] => frontend
[3] => extbase
[4] => fluid
[5] => rte_ckeditor_image
[6] => json_response
[7] => private_container
)