Skip to content

Commit

Permalink
[TASK] Clean and improve ConnectionManagerTest
Browse files Browse the repository at this point in the history
Fixtures of ConnectionManagerTest were not yet updated
and included basic configuration that can be provided
automatically, this commit cleans the fixtures and
enables the automatic provision.
  • Loading branch information
dkd-friedrich committed Oct 16, 2024
1 parent a4596d4 commit 81959d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
6 changes: 0 additions & 6 deletions Tests/Integration/ConnectionManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@
*/
class ConnectionManagerTest extends IntegrationTestBase
{
/**
* @inheritdoc
* @todo: Remove unnecessary fixtures and remove that property as intended.
*/
protected bool $skipImportRootPagesAndTemplatesForConfiguredSites = true;

protected function setUp(): void
{
parent::setUp();
Expand Down
21 changes: 1 addition & 20 deletions Tests/Integration/Fixtures/connection_basic.csv
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,9 @@
#
"pages",
,"uid","pid","is_siteroot","doktype","mount_pid","mount_pid_ol","slug","title"
,1,0,1,1,0,0,"/","First site"
,11,1,0,7,24,1,"/subpage","Subpage of first site"
,111,0,1,1,0,0,"/","Second site"
,21,111,0,7,24,1,"/subpage","Subpage of second site"
# detached and non Root Page-Tree
,3,0,0,1,0,0,"/","Detached and non Root Page-Tree"
,31,3,0,7,24,1,"/subpage","Subpage 1 of Detached"
,32,3,0,7,24,1,"/subpage-2","Subpage 2 of Detached"
"sys_template",
,"uid","pid","root","clear","sorting","config"
,1,1,1,3,100,"
page = PAGE
page.typeNum = 0
plugin.tx_solr {
enabled = 1
}"
,111,111,1,3,100,"
page = PAGE
page.typeNum = 0

plugin.tx_solr {
enabled = 1
}"


,32,3,0,7,24,1,"/subpage-2","Subpage 2 of Detached"

0 comments on commit 81959d9

Please sign in to comment.