Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 22... Línea 22...
22
 * @package enrol_lti
22
 * @package enrol_lti
23
 * @copyright 2021 Jake Dallimore <jrhdallimore@gmail.com>
23
 * @copyright 2021 Jake Dallimore <jrhdallimore@gmail.com>
24
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25
 * @coversDefaultClass \enrol_lti\local\ltiadvantage\entity\deployment
25
 * @coversDefaultClass \enrol_lti\local\ltiadvantage\entity\deployment
26
 */
26
 */
27
class deployment_test extends \advanced_testcase {
27
final class deployment_test extends \advanced_testcase {
Línea 28... Línea 28...
28
 
28
 
29
    /**
29
    /**
30
     * Test creation of the object instances.
30
     * Test creation of the object instances.
31
     *
31
     *
Línea 51... Línea 51...
51
 
51
 
52
    /**
52
    /**
53
     * Data provider for testing object instantiation.
53
     * Data provider for testing object instantiation.
54
     * @return array the data for testing.
54
     * @return array the data for testing.
55
     */
55
     */
56
    public function instantiation_data_provider(): array {
56
    public static function instantiation_data_provider(): array {
57
        return [
57
        return [
58
            'Valid deployment creation, no id or legacy consumer key' => [
58
            'Valid deployment creation, no id or legacy consumer key' => [
59
                'args' => [
59
                'args' => [
60
                    'registrationid' => 99,
60
                    'registrationid' => 99,