(root)/course/tests/caching_content_item_readonly_repository_test.php – Rev 1 → 11
Rev 1 |
Mostrar el archivo completo |
|
|
Autoría |
Ultima modificación |
Ver Log
|
Rev 1 |
Rev 11 |
Línea 37... |
Línea 37... |
37 |
*/
|
37 |
*/
|
38 |
class caching_content_item_readonly_repository_test extends \advanced_testcase {
|
38 |
class caching_content_item_readonly_repository_test extends \advanced_testcase {
|
39 |
/**
|
39 |
/**
|
40 |
* Test verifying that content items are cached and returned from the cache in subsequent same-request calls.
|
40 |
* Test verifying that content items are cached and returned from the cache in subsequent same-request calls.
|
41 |
*/
|
41 |
*/
|
42 |
public function test_find_all_for_course() {
|
42 |
public function test_find_all_for_course(): void {
|
43 |
$this->resetAfterTest();
|
43 |
$this->resetAfterTest();
|
44 |
global $DB;
|
44 |
global $DB;
|
Línea 45... |
Línea 45... |
45 |
|
45 |
|
46 |
$course = $this->getDataGenerator()->create_course();
|
46 |
$course = $this->getDataGenerator()->create_course();
|