Added expected to failure file

This commit is contained in:
sagargurung1001@gmail.com
2022-11-29 16:39:10 +05:45
committed by Phil Davis
parent 9f0a22af7e
commit 6ff9d6196f
4 changed files with 168 additions and 118 deletions
+25 -25
View File
@@ -242,31 +242,31 @@ class GraphHelper {
);
}
/**
* @param string $baseUrl
* @param string $xRequestId
* @param string $adminUser
* @param string $adminPassword
* @param string $ofUser
*
* @return ResponseInterface
* @throws GuzzleException
*/
public static function getUserWithDriveInformation(
string $baseUrl,
string $xRequestId,
string $user,
string $userPassword,
string $ofUser
): ResponseInterface {
$url = self::getFullUrl($baseUrl, 'users/'. $ofUser . '?%24select=&%24expand=drive');
return HttpRequestHelper::get(
$url,
$xRequestId,
$user,
$userPassword,
);
}
/**
* @param string $baseUrl
* @param string $xRequestId
* @param string $user
* @param string $userPassword
* @param string|null $ofUser
*
* @return ResponseInterface
* @throws GuzzleException
*/
public static function getUserWithDriveInformation(
string $baseUrl,
string $xRequestId,
string $user,
string $userPassword,
?string $ofUser = null
): ResponseInterface {
$url = self::getFullUrl($baseUrl, 'users/' . $ofUser . '?%24select=&%24expand=drive');
return HttpRequestHelper::get(
$url,
$xRequestId,
$user,
$userPassword,
);
}
/**
* @param string $baseUrl