Línea 33... |
Línea 33... |
33 |
* The test class for the caching_content_item_readonly_repository class.
|
33 |
* The test class for the caching_content_item_readonly_repository class.
|
34 |
*
|
34 |
*
|
35 |
* @copyright 2020 Jake Dallimore <jrhdallimore@gmail.com>
|
35 |
* @copyright 2020 Jake Dallimore <jrhdallimore@gmail.com>
|
36 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
36 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
37 |
*/
|
37 |
*/
|
38 |
class caching_content_item_readonly_repository_test extends \advanced_testcase {
|
38 |
final 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(): void {
|
42 |
public function test_find_all_for_course(): void {
|
43 |
$this->resetAfterTest();
|
43 |
$this->resetAfterTest();
|