| Línea 22... |
Línea 22... |
| 22 |
* @package block_recentlyaccesseditems
|
22 |
* @package block_recentlyaccesseditems
|
| 23 |
* @copyright 2019 University of Nottingham
|
23 |
* @copyright 2019 University of Nottingham
|
| 24 |
* @author Neill Magill <neill.magill@nottingham.ac.uk>
|
24 |
* @author Neill Magill <neill.magill@nottingham.ac.uk>
|
| 25 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
25 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
| 26 |
*/
|
26 |
*/
|
| 27 |
final class helper_test extends \advanced_testcase {
|
27 |
class helper_test extends \advanced_testcase {
|
| 28 |
/**
|
28 |
/**
|
| 29 |
* Tests that the get recent items method can handle getting records when courses have been deleted.
|
29 |
* Tests that the get recent items method can handle getting records when courses have been deleted.
|
| 30 |
*/
|
30 |
*/
|
| 31 |
public function test_get_recent_items(): void {
|
31 |
public function test_get_recent_items(): void {
|
| 32 |
$this->resetAfterTest();
|
32 |
$this->resetAfterTest();
|