Skip to content

Commit

Permalink
[BUGFIX] Drop manual SiteConfiguration in PageTree ac test
Browse files Browse the repository at this point in the history
The styleguide extension generator creates a site configuration
for its page tree for a while already. The manual creation
of a site is not needed in acceptance PageTreeFilterCest.

Resolves: #93488
Releases: master, 10.4
Change-Id: Iaaafd2d07589d1fcc370a4c22024e34d1182af35
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67689
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
lolli42 committed Feb 11, 2021
1 parent 1d02680 commit 2a3f256
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
Expand Up @@ -20,7 +20,6 @@
use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\ModalDialog;
use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\PageTree;
use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\SiteConfiguration;

class PageTreeFilterCest
{
Expand All @@ -29,9 +28,8 @@ class PageTreeFilterCest
protected $pageTreeReloadButton = '#typo3-pagetree #typo3-pagetree-toolbar button[data-tree-icon=actions-refresh]';
protected $inPageTree = '#typo3-pagetree-tree .nodes';

public function _before(BackendTester $I, PageTree $pageTree, SiteConfiguration $siteConfiguration)
public function _before(BackendTester $I, PageTree $pageTree)
{
$siteConfiguration->adjustSiteConfiguration();
$I->useExistingSession('admin');
$I->click('List');

Expand Down

This file was deleted.

0 comments on commit 2a3f256

Please sign in to comment.