merge latest master into Wikidata branch
[lhc/web/wiklou.git] / tests / phpunit / includes / LinksUpdateTest.php
index 8e37b13..5267e57 100644 (file)
@@ -151,7 +151,9 @@ class LinksUpdateTest extends MediaWikiTestCase {
        protected function assertLinksUpdate( Title $title, ParserOutput $parserOutput, $table, $fields, $condition, array $expectedRows ) {
                $update = new LinksUpdate( $title, $parserOutput );
 
+               $update->beginTransaction();
                $update->doUpdate();
+               $update->commitTransaction();
 
                $this->assertSelect( $table, $fields, $condition, $expectedRows );
        }