Línea 41... |
Línea 41... |
41 |
* @param array $shareddrives The array containing the existing shared drives
|
41 |
* @param array $shareddrives The array containing the existing shared drives
|
42 |
* @param array $searccontents The array containing the fetched google drive contents that match the search criteria
|
42 |
* @param array $searccontents The array containing the fetched google drive contents that match the search criteria
|
43 |
* @param array $expected The expected array which contains the generated repository content nodes
|
43 |
* @param array $expected The expected array which contains the generated repository content nodes
|
44 |
*/
|
44 |
*/
|
45 |
public function test_get_content_nodes(string $query, bool $sortcontent, array $filterextensions,
|
45 |
public function test_get_content_nodes(string $query, bool $sortcontent, array $filterextensions,
|
46 |
array $shareddrives, array $searccontents, array $expected) {
|
46 |
array $shareddrives, array $searccontents, array $expected): void {
|
Línea 47... |
Línea 47... |
47 |
|
47 |
|
48 |
// Mock the service object.
|
48 |
// Mock the service object.
|
Línea 49... |
Línea 49... |
49 |
$servicemock = $this->createMock(rest::class);
|
49 |
$servicemock = $this->createMock(rest::class);
|