Thiemo Mättig (WMDE) has uploaded a new change for review.

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

Change subject: Fix UpdateConstraintsTableTest file name
......................................................................

Fix UpdateConstraintsTableTest file name

This was missed in I55fd778.

Change-Id: I1da244ec704985fd53036f9c99d36bbf225b6215
---
R tests/phpunit/Maintenance/UpdateConstraintsTableTest.php
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQualityConstraints
 refs/changes/11/224411/1

diff --git a/tests/phpunit/Maintenance/UpdateTableTest.php 
b/tests/phpunit/Maintenance/UpdateConstraintsTableTest.php
similarity index 97%
rename from tests/phpunit/Maintenance/UpdateTableTest.php
rename to tests/phpunit/Maintenance/UpdateConstraintsTableTest.php
index 40d9b13..744382c 100644
--- a/tests/phpunit/Maintenance/UpdateTableTest.php
+++ b/tests/phpunit/Maintenance/UpdateConstraintsTableTest.php
@@ -4,7 +4,6 @@
 
 use WikibaseQuality\ConstraintReport\Maintenance\UpdateConstraintsTable;
 
-
 /**
  * @covers WikibaseQuality\ConstraintReport\Maintenance\UpdateConstraintsTable
  *
@@ -19,20 +18,21 @@
 
        protected function setup() {
                parent::setup();
+
                $this->tablesUsed[] = CONSTRAINT_TABLE;
        }
 
        public function addDBData() {
                $this->db->delete( CONSTRAINT_TABLE, '*' );
                $this->db->insert( CONSTRAINT_TABLE,
-                       array (
-                               array (
+                       array(
+                               array(
                                        'constraint_guid' => 'foo',
                                        'pid' => 42,
                                        'constraint_type_qid' => 
'TestConstraint',
                                        'constraint_parameters' => '{}'
                                ),
-                               array (
+                               array(
                                        'constraint_guid' => 'bar',
                                        'pid' => 42,
                                        'constraint_type_qid' => 
'TestConstraint',
@@ -84,4 +84,4 @@
                );
        }
 
-}
\ No newline at end of file
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1da244ec704985fd53036f9c99d36bbf225b6215
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

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

Reply via email to