MediaWiki  master
AutopromoteTest Class Reference

Autopromote. More...

Inheritance diagram for AutopromoteTest:
Collaboration diagram for AutopromoteTest:

Public Member Functions

 testEditCountLookupIsSkippedIfRequirementIsZero ( $editCount, $requirement)
 T157718: Verify Autopromote does not perform edit count lookup if requirement is 0 or invalid. More...
 

Static Public Member Functions

static provideEditCountsAndRequirements ()
 

Detailed Description

Autopromote.

Definition at line 6 of file AutopromoteTest.php.

Member Function Documentation

◆ provideEditCountsAndRequirements()

static AutopromoteTest::provideEditCountsAndRequirements ( )
static

Definition at line 49 of file AutopromoteTest.php.

◆ testEditCountLookupIsSkippedIfRequirementIsZero()

AutopromoteTest::testEditCountLookupIsSkippedIfRequirementIsZero (   $editCount,
  $requirement 
)

T157718: Verify Autopromote does not perform edit count lookup if requirement is 0 or invalid.

See also
Autopromote::getAutopromoteGroups() provideEditCountsAndRequirements
Parameters
int$editCountedit count of user to be checked by Autopromote
int$requirementedit count required to autopromote user

Definition at line 15 of file AutopromoteTest.php.

References APCOND_EDITCOUNT, class, and Autopromote\getAutopromoteGroups().


The documentation for this class was generated from the following file: