Paladox has uploaded a new change for review. https://gerrit.wikimedia.org/r/317495
Change subject: Fix test global config ...................................................................... Fix test global config Use wgPageFormsFormPrinter instead. Change-Id: I0aae9344937d8ae0d60f385ab0b2a98fc63b268e --- M tests/phpunit/includes/PF_FormPrinterTest.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageForms refs/changes/95/317495/1 diff --git a/tests/phpunit/includes/PF_FormPrinterTest.php b/tests/phpunit/includes/PF_FormPrinterTest.php index 0720e7d..5d74515 100644 --- a/tests/phpunit/includes/PF_FormPrinterTest.php +++ b/tests/phpunit/includes/PF_FormPrinterTest.php @@ -13,14 +13,14 @@ */ public function testPageSectionsWithoutExistingPages( $setup, $expected ) { - global $pfgFormPrinter, $wgTitle, $wgParser, $wgOut; + global $wgPageFormsFormPrinter, $wgTitle, $wgParser, $wgOut; $wgParser = $this->getParser(); $wgTitle = $this->getTitle(); $wgOut->getContext()->setTitle( $wgTitle ); list ( $form_text, $page_text, $form_page_title, $generated_page_name ) = - $pfgFormPrinter->formHTML( $setup['form_definition'], true, false, null, null, 'TestStringForFormPageTitle', null ); + $wgPageFormsFormPrinter->formHTML( $setup['form_definition'], true, false, null, null, 'TestStringForFormPageTitle', null ); $this->assertContains( $expected['expected_form_text'], -- To view, visit https://gerrit.wikimedia.org/r/317495 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0aae9344937d8ae0d60f385ab0b2a98fc63b268e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/PageForms Gerrit-Branch: master Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits