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

Issue #3455186 by joseph.olstad - Refactor of 88f1e040 for tests for D11...

Issue #3455186 by joseph.olstad - Refactor of 88f1e040 for tests for D11 phpunit 10+ compatibility refactoring test.
parent b0855930
No related branches found
No related tags found
No related merge requests found
Pipeline #333461 failed
......@@ -305,7 +305,7 @@ class CshsGroupByRootFormatterUnitTest extends UnitTestCase {
/**
*
*/
class MockTerm implements TermInterface {
class MockTerm implements TermInterface, IteratorAggregate {
public $parent;
private $id;
private $label;
......@@ -415,4 +415,11 @@ class MockTerm implements TermInterface {
*/
public function setVocabularyId($vid) {}
/**
* Implement the IteratorAggregate interface.
*/
public function getIterator() {
return new ArrayIterator([]);
}
}
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