Skip to content

Commit

Permalink
[TASK] Provide EXT:form in functional tests
Browse files Browse the repository at this point in the history
To workaround testing framework error:

```
TYPO3\TestingFramework\Core\Exception:
Package "blog" depends on package "form" which does not exist.
```
  • Loading branch information
bnf committed Oct 17, 2024
1 parent ce2dc48 commit 8a46930
Show file tree
Hide file tree
Showing 25 changed files with 100 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/Functional/AvatarProvider/GravatarProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

class GravatarProviderTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Hooks/DataHandlerHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

final class DataHandlerHookTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Service/SetupServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

final class SetupServiceTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/AuthorSlugUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class AuthorSlugUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/AvatarProviderUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class AvatarProviderUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/CategorySlugUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class CategorySlugUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/CategoryTypeUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class CategoryTypeUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/CommentStatusUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class CommentStatusUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/DatabaseMonthYearUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class DatabaseMonthYearUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/DatabasePublishDateUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class DatabasePublishDateUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/FeaturedImageUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class FeaturedImageUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/Updates/TagSlugUpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
*/
final class TagSlugUpdateTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

final class ContentListOptionsViewHelperTest extends SiteBasedTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

/**
* @test
*/
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/GravatarViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

final class GravatarViewHelperTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Link/ArchiveViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

final class ArchiveViewHelperTest extends SiteBasedTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

/**
* @test
* @dataProvider renderDataProvider
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Link/AuthorViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

final class AuthorViewHelperTest extends SiteBasedTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

/**
* @test
* @dataProvider renderDataProvider
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Link/Be/AuthorViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

final class AuthorViewHelperTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

final class CategoryViewHelperTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

final class CommentViewHelperTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Link/Be/PostViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

final class PostViewHelperTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Link/Be/TagViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

final class TagViewHelperTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Link/CategoryViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

final class CategoryViewHelperTest extends SiteBasedTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

/**
* @test
* @dataProvider renderDataProvider
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Link/PostViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

final class PostViewHelperTest extends SiteBasedTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

/**
* @test
* @dataProvider renderDataProvider
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Link/TagViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

final class TagViewHelperTest extends SiteBasedTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

/**
* @test
* @dataProvider renderDataProvider
Expand Down
4 changes: 4 additions & 0 deletions Tests/Functional/ViewHelpers/Uri/AvatarViewHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

final class AvatarViewHelperTest extends FunctionalTestCase
{
protected array $coreExtensionsToLoad = [
'form'
];

protected array $testExtensionsToLoad = [
'typo3conf/ext/blog'
];
Expand Down

0 comments on commit 8a46930

Please sign in to comment.