Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 44... Línea 44...
44
 *
44
 *
45
 * @package    auth_ldap
45
 * @package    auth_ldap
46
 * @copyright  2013 Petr Skoda {@link http://skodak.org}
46
 * @copyright  2013 Petr Skoda {@link http://skodak.org}
47
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
47
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
48
 */
48
 */
49
class auth_ldap_test extends \advanced_testcase {
49
final class auth_ldap_test extends \advanced_testcase {
Línea 50... Línea 50...
50
 
50
 
51
    public static function setUpBeforeClass(): void {
51
    public static function setUpBeforeClass(): void {
52
        global $CFG;
52
        global $CFG;
Línea 64... Línea 64...
64
     * built in the plugis is doing its work consistently). Both searching and
64
     * built in the plugis is doing its work consistently). Both searching and
65
     * not searching within subcontexts.
65
     * not searching within subcontexts.
66
     *
66
     *
67
     * @return array[]
67
     * @return array[]
68
     */
68
     */
69
    public function auth_ldap_provider() {
69
    public static function auth_ldap_provider(): array {
70
        $pagesizes = [1, 3, 5, 1000];
70
        $pagesizes = [1, 3, 5, 1000];
71
        $subcontexts = [0, 1];
71
        $subcontexts = [0, 1];
72
        $combinations = [];
72
        $combinations = [];
73
        foreach ($pagesizes as $pagesize) {
73
        foreach ($pagesizes as $pagesize) {
74
            foreach ($subcontexts as $subcontext) {
74
            foreach ($subcontexts as $subcontext) {