Merge "Fix incomplete test setup now that ref items are objects"

This commit is contained in:
jenkins-bot 2024-08-12 09:02:25 +00:00 committed by Gerrit Code Review
commit 4d231c347c

View file

@ -37,7 +37,7 @@ class CiteIntegrationTest extends \MediaWikiIntegrationTestCase {
);
$referenceStack = new ReferenceStack();
TestingAccessWrapper::newFromObject( $referenceStack )->refs = $initialRefs;
TestingAccessWrapper::newFromObject( $referenceStack )->refs = TestUtils::refGroupsFromArray( $initialRefs );
$formatter = $this->createMock( ReferenceListFormatter::class );
$formatter->method( 'formatReferences' )->willReturn( '<references />' );