dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Warn if stateful ParserOutput transforms are used
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
ExportTest.php
diff --git
a/tests/phpunit/includes/ExportTest.php
b/tests/phpunit/includes/ExportTest.php
index
c077081
..
a5d3570
100644
(file)
--- a/
tests/phpunit/includes/ExportTest.php
+++ b/
tests/phpunit/includes/ExportTest.php
@@
-35,10
+35,9
@@
class ExportTest extends MediaWikiLangTestCase {
$exporter->openStream();
$exporter->pageByTitle( $title );
$exporter->closeStream();
$exporter->openStream();
$exporter->pageByTitle( $title );
$exporter->closeStream();
- $xmlString = $sink->getOutput();
// This throws error if invalid xml output
// This throws error if invalid xml output
- $xmlObject = simplexml_load_string( $
xmlString
);
+ $xmlObject = simplexml_load_string( $
sink
);
/**
* Check namespaces match xml
/**
* Check namespaces match xml