mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-23 22:45:20 +00:00
Merge "Fix incomplete test setup now that ref items are objects"
This commit is contained in:
commit
4d231c347c
|
@ -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 />' );
|
||||
|
|
Loading…
Reference in a new issue