Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 36... Línea 36...
36
     *
36
     *
37
     * @dataProvider get_content_nodes_provider
37
     * @dataProvider get_content_nodes_provider
38
     * @param array $shareddrives The array containing the existing shared drives
38
     * @param array $shareddrives The array containing the existing shared drives
39
     * @param array $expected The expected array which contains the generated repository content nodes
39
     * @param array $expected The expected array which contains the generated repository content nodes
40
     */
40
     */
41
    public function test_get_content_nodes(array $shareddrives, array $expected) {
41
    public function test_get_content_nodes(array $shareddrives, array $expected): void {
42
        // Mock the service object.
42
        // Mock the service object.
43
        $servicemock = $this->createMock(\repository_googledocs\rest::class);
43
        $servicemock = $this->createMock(\repository_googledocs\rest::class);
Línea 44... Línea 44...
44
 
44
 
45
        // Assert that the call() method is being called only once with the given arguments to fetch the existing
45
        // Assert that the call() method is being called only once with the given arguments to fetch the existing