Skip to content

Commit ef6cc8d

Browse files
d-g-codappixachimfritz
authored andcommitted
[BUGFIX] Fix provided test setup
1 parent 151d7ca commit ef6cc8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/Functional/Integrity/Fixtures/SortingInPage/container_is_sorted_before_child_of_previous_container_with_nested_changed_children_sorting.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"tt_content"
55
,"uid","pid","colPos","CType","sorting","tx_container_parent"
66
,1,1,0,b13-2cols-with-header-container,1,
7-
,2,1,0,b13-2cols-with-header-container,2,1
7+
,2,1,202,b13-2cols-with-header-container,2,1
88
,3,1,202,,5,2
99
,4,1,0,"b13-2cols-with-header-container",3,
10-
,5,1,202,,4,3
10+
,5,1,202,,4,4

Tests/Functional/Integrity/SortingInPageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public function containerIsSortedAfterChildOfPreviousContainerWithNestedChangedC
8686
$errors = $this->sorting->run(false);
8787
self::assertTrue(count($errors) === 1, 'should get one error');
8888
$rows = $this->getContentsByUid();
89-
self::assertTrue($rows[2]['sorting'] > $rows[5]['sorting'], 'container should be sorted after last nested child of previous container');
90-
self::assertTrue($rows[3]['sorting'] > $rows[2]['sorting'], 'child should be sorted after its own parent container after resorting');
89+
self::assertTrue($rows[4]['sorting'] > $rows[3]['sorting'], 'container should be sorted after last nested child of previous container');
90+
self::assertTrue($rows[5]['sorting'] > $rows[4]['sorting'], 'child should be sorted after its own parent container after resorting');
9191
}
9292

9393
/**

0 commit comments

Comments
 (0)