Skip to content
Snippets Groups Projects
Commit 5e5a4c73 authored by Joseph Olstad's avatar Joseph Olstad
Browse files

Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit 10+...

Issue #3455186 by cmlara, joseph.olstad - Refactor tests for D11 phpunit 10+ compatibility refactoring test.
parent bcf36c10
No related branches found
No related tags found
No related merge requests found
Pipeline #332391 failed
......@@ -126,31 +126,6 @@ class CshsGroupByRootFormatterUnitTest extends UnitTestCase {
}, $tree);
}
/**
* Returns the test suites.
*
* @return \Generator
* The test suites.
*/
public function providerViewElements(): \Generator {
$tree = [
['a', 'b', 'c'],
['a', 'b1'],
['a', 'b', 'c', 'd'],
['a1', 'b1', 'c1'],
['a1', 'b1', 'c1', 'd1'],
];
yield [
['depth' => 0, 'linked' => TRUE, 'reverse' => FALSE, 'sort' => CshsGroupByRootFormatter::SORT_NONE, 'last_child' => FALSE],
$tree,
[
[static::getGeneratedLink('a'), static::getGeneratedLink('b'), static::getGeneratedLink('c'), static::getGeneratedLink('b1'), static::getGeneratedLink('d')],
[static::getGeneratedLink('a1'), static::getGeneratedLink('b1'), static::getGeneratedLink('c1'), static::getGeneratedLink('d1')],
],
];
}
/**
* Provides base test data for view elements.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment