Hoo man has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/278757

Change subject: Fix "No tests found in class …."
......................................................................

Fix "No tests found in class …."

This is a problem since 1dd20e936b1f6dd3efacd155d96d0e0364f66d92 as
PHPUnit_Framework_TestCase doesn't define any tests itself, while
MediaWikiTestCase does.

Change-Id: Ie3a658f254b37e70a06395f8ee7af1c22f71eb28
---
M 
client/tests/phpunit/includes/DataAccess/Scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/57/278757/1

diff --git 
a/client/tests/phpunit/includes/DataAccess/Scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
 
b/client/tests/phpunit/includes/DataAccess/Scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
index b582c70..904de39 100644
--- 
a/client/tests/phpunit/includes/DataAccess/Scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
+++ 
b/client/tests/phpunit/includes/DataAccess/Scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
@@ -19,6 +19,12 @@
                        $this->markTestSkipped( 'Scribunto is not available' );
                }
 
+               public function testPlaceholder() {
+                       $this->assertTrue(
+                               false,
+                               'PHPunit expects this class to have tests. This 
should never run.'
+                       );
+               }
        }
 
        return;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie3a658f254b37e70a06395f8ee7af1c22f71eb28
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Hoo man <[email protected]>

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

Reply via email to