| Línea 35... |
Línea 35... |
| 35 |
/**
|
35 |
/**
|
| 36 |
* Simple recording fetcher test
|
36 |
* Simple recording fetcher test
|
| 37 |
*
|
37 |
*
|
| 38 |
* @return void
|
38 |
* @return void
|
| 39 |
*/
|
39 |
*/
|
| 40 |
public function test_fetch_recordings() {
|
40 |
public function test_fetch_recordings(): void {
|
| 41 |
$this->resetAfterTest();
|
41 |
$this->resetAfterTest();
|
| 42 |
$this->initialise_mock_server();
|
42 |
$this->initialise_mock_server();
|
| 43 |
[$context, $cm, $bbbactivity] = $this->create_instance();
|
43 |
[$context, $cm, $bbbactivity] = $this->create_instance();
|
| 44 |
$instance = instance::get_from_instanceid($bbbactivity->id);
|
44 |
$instance = instance::get_from_instanceid($bbbactivity->id);
|
| 45 |
$recordings = $this->create_recordings_for_instance($instance, [['name' => 'Recording 1'], ['name' => 'Recording 2']]);
|
45 |
$recordings = $this->create_recordings_for_instance($instance, [['name' => 'Recording 1'], ['name' => 'Recording 2']]);
|
| Línea 53... |
Línea 53... |
| 53 |
/**
|
53 |
/**
|
| 54 |
* Simple recording with breakoutroom fetcher test
|
54 |
* Simple recording with breakoutroom fetcher test
|
| 55 |
*
|
55 |
*
|
| 56 |
* @return void
|
56 |
* @return void
|
| 57 |
*/
|
57 |
*/
|
| 58 |
public function test_fetch_recordings_breakoutroom() {
|
58 |
public function test_fetch_recordings_breakoutroom(): void {
|
| 59 |
$this->resetAfterTest();
|
59 |
$this->resetAfterTest();
|
| 60 |
$this->initialise_mock_server();
|
60 |
$this->initialise_mock_server();
|
| 61 |
[$context, $cm, $bbbactivity] = $this->create_instance();
|
61 |
[$context, $cm, $bbbactivity] = $this->create_instance();
|
| 62 |
$instance = instance::get_from_instanceid($bbbactivity->id);
|
62 |
$instance = instance::get_from_instanceid($bbbactivity->id);
|
| 63 |
$bbbgenerator = $this->getDataGenerator()->get_plugin_generator('mod_bigbluebuttonbn');
|
63 |
$bbbgenerator = $this->getDataGenerator()->get_plugin_generator('mod_bigbluebuttonbn');
|