Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 40... Línea 40...
40
class item_test extends advanced_testcase {
40
class item_test extends advanced_testcase {
Línea 41... Línea 41...
41
 
41
 
42
    /**
42
    /**
43
     * Test item creation.
43
     * Test item creation.
44
     */
44
     */
Línea 45... Línea 45...
45
    public function test_create() {
45
    public function test_create(): void {
46
 
46
 
47
        // This is a generic item so check that it can create and item and json encode later.
47
        // This is a generic item so check that it can create and item and json encode later.
48
        $data = (object) [
48
        $data = (object) [