Skip to content

Commit

Permalink
fix the all the current broken unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
buidav committed Nov 16, 2024
1 parent d390f58 commit b18dc70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion PowerShell/ScubaGear/Modules/Orchestrator.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1864,7 +1864,7 @@ function Invoke-SCuBACached {
$Guid = New-Guid -ErrorAction 'Stop'
}
catch {
$Guid = "00000000-0000-0000]-0000-000000000000"
$Guid = "00000000-0000-0000-0000-000000000000"
$Warning = "Error generating new UUID. See the exception message for more details: $($_)"
Write-Warning $Warning
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ Describe -Tag 'Orchestrator' -Name 'Invoke-ProviderList' {
BeforeAll {
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'ProviderParameters')]
$ProviderParameters = @{
OutFolderPath = "./output";
OutProviderFileName = "ProviderSettingsExport";
M365Environment = "commercial";
TenantDetails = '{"DisplayName": "displayName"}';
ModuleVersion = '1.0';
BoundParameters = @{};
OutFolderPath = "./output";
OutProviderFileName = "ProviderSettingsExport";
M365Environment = "commercial";
TenantDetails = '{"DisplayName": "displayName"}';
ModuleVersion = '1.0';
BoundParameters = @{};
Guid = "00000000-0000-0000-0000-000000000000"
}
}
It 'With -ProductNames "aad", should not throw' {
Expand Down

0 comments on commit b18dc70

Please sign in to comment.