Lucas Werkmeister (WMDE) has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/382712 )
Change subject: Update method names in ValueOnlyCheckerTest
......................................................................
Update method names in ValueOnlyCheckerTest
Obvious copy+paste is obvious…
Bug: T102749
Change-Id: I2256f55d92dac50c6a7e0e1efaa95de99e509ea7
---
M tests/phpunit/Checker/ValueOnlyCheckerTest.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQualityConstraints
refs/changes/12/382712/1
diff --git a/tests/phpunit/Checker/ValueOnlyCheckerTest.php
b/tests/phpunit/Checker/ValueOnlyCheckerTest.php
index 56c43d5..b3bba1f 100644
--- a/tests/phpunit/Checker/ValueOnlyCheckerTest.php
+++ b/tests/phpunit/Checker/ValueOnlyCheckerTest.php
@@ -29,7 +29,7 @@
* @param string|null $messageKey key of violation message, or null if
compliance is expected
* @dataProvider contextTypes
*/
- public function testQualifierConstraint( $type, $messageKey ) {
+ public function testValueOnlyConstraint( $type, $messageKey ) {
$context = $this->getMock( Context::class );
$context->method( 'getType' )->willReturn( $type );
$checker = new ValueOnlyChecker();
@@ -52,7 +52,7 @@
];
}
- public function testQualifierConstraintDeprecatedStatement() {
+ public function testValueOnlyConstraintDeprecatedStatement() {
$checker = new ValueOnlyChecker();
$statement = NewStatement::noValueFor( 'P1' )
->withDeprecatedRank()
--
To view, visit https://gerrit.wikimedia.org/r/382712
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2256f55d92dac50c6a7e0e1efaa95de99e509ea7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits