Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 38... Línea 38...
38
 *
38
 *
39
 * @package   search_simpledb
39
 * @package   search_simpledb
40
 * @copyright 2018 David Monllaó {@link http://www.davidmonllao.com}
40
 * @copyright 2018 David Monllaó {@link http://www.davidmonllao.com}
41
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
41
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
42
 */
42
 */
43
class provider_test extends \core_privacy\tests\provider_testcase {
43
final class provider_test extends \core_privacy\tests\provider_testcase {
Línea 44... Línea 44...
44
 
44
 
45
    /** @var \search_simpledb\engine database engine. */
45
    /** @var \search_simpledb\engine database engine. */
Línea 46... Línea 46...
46
    protected $engine;
46
    protected $engine;
Línea 69... Línea 69...
69
    /** @var \stdClass user record. */
69
    /** @var \stdClass user record. */
70
    protected $u2;
70
    protected $u2;
Línea 71... Línea 71...
71
 
71
 
72
    public function setUp(): void {
72
    public function setUp(): void {
-
 
73
        global $DB;
Línea 73... Línea 74...
73
        global $DB;
74
        parent::setUp();
74
 
75
 
75
        if ($this->requires_manual_index_update()) {
76
        if ($this->requires_manual_index_update()) {
76
            // We need to update fulltext index manually, which requires an alter table statement.
77
            // We need to update fulltext index manually, which requires an alter table statement.