File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Describe "Remove-EntraBetaUserSponsor" {
16
16
Context " Test for Remove-EntraBetaUserSponsor" {
17
17
It " Should fail when UserId is empty string value" {
18
18
{ Remove-EntraBetaUserSponsor - UserId " " - SponsorId " 367412e8-7403-454c-b5d9-680fff0afff7" } |
19
- Should - Throw " Cannot bind argument to parameter 'Cannot validate argument on parameter 'UserId'. UserId must be a valid email address or GUID."
19
+ Should - Throw " Cannot validate argument on parameter 'UserId'. UserId must be a valid email address or GUID."
20
20
}
21
21
22
22
It " Should fail when UserId is empty" {
@@ -26,7 +26,7 @@ Describe "Remove-EntraBetaUserSponsor" {
26
26
27
27
It " Should fail when SponsorId is empty string value" {
28
28
{ Remove-EntraBetaUserSponsor - UserId " aef74418-9a67-47e2-a956-490cfd0e7765" - SponsorId " " } |
29
- Should - Throw " Cannot validate argument on parameter 'SponsorId'. UserId must be a valid email address or GUID. "
29
+ Should - Throw " Cannot process argument transformation on parameter 'SponsorId'. Cannot convert value* "
30
30
}
31
31
32
32
It " Should fail when SponsorId is empty" {
You can’t perform that action at this time.
0 commit comments