jenkins-bot has submitted this change and it was merged.

Change subject: Added Wikibase\EntityContent::testGetParserOutput
......................................................................


Added Wikibase\EntityContent::testGetParserOutput

Change-Id: I57ffd024e1858f2beef8990a0d15f8014276d9e6
---
M repo/tests/phpunit/includes/content/EntityContentTest.php
1 file changed, 10 insertions(+), 1 deletion(-)

Approvals:
  Daniel Kinzler: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/tests/phpunit/includes/content/EntityContentTest.php 
b/repo/tests/phpunit/includes/content/EntityContentTest.php
index 8c6100b..79bef37 100644
--- a/repo/tests/phpunit/includes/content/EntityContentTest.php
+++ b/repo/tests/phpunit/includes/content/EntityContentTest.php
@@ -5,7 +5,7 @@
 use Wikibase\Test\Api\ModifyItemBase;
 
 /**
- * Tests for the Wikibase\EntityContent class.
+ * @covers Wikibase\EntityContent
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -397,4 +397,13 @@
                $actual = $itemB->equals( $itemA );
                $this->assertEquals( $equals, $actual );
        }
+
+       public function testGetParserOutput() {
+               $content = $this->newEmpty();
+
+               $title = \Title::newFromText( 'Foo' );
+               $parserOutput = $content->getParserOutput( $title );
+
+               $this->assertInstanceOf( '\ParserOutput', $parserOutput );
+       }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/66971
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I57ffd024e1858f2beef8990a0d15f8014276d9e6
Gerrit-PatchSet: 8
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Werner <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Daniel Kinzler <[email protected]>
Gerrit-Reviewer: Daniel Werner <[email protected]>
Gerrit-Reviewer: Henning Snater <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to