3 declare(strict_types=1);
27 $this->step_numbers = $arr;
62 $this->assertInstanceOf(ilDBStepReader::class, $obj);
68 $this->assertEquals(4, $obj->getLatestStepNumber(Test_ilDBStepReader::class,
"step_"));
74 $result = $obj->readStepNumbers(Test_ilDBStepReader::class,
"step_");
76 $this->assertIsArray($result);
77 $this->assertEquals(1, $result[0]);
78 $this->assertEquals(2, $result[1]);
79 $this->assertEquals(4, $result[2]);
test_getLatestStepNumber()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setStepNumbers(array $arr)
prepare(ilDBInterface $db)