Addshore has submitted this change and it was merged.
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(-)
Approvals:
Addshore: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I1da244ec704985fd53036f9c99d36bbf225b6215
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Andreasburmeister <[email protected]>
Gerrit-Reviewer: Bene <[email protected]>
Gerrit-Reviewer: Jonaskeutel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits