diff --git a/Functions/Setup/Support/Get-NetboxContentType.ps1 b/Functions/Setup/Support/Get-NetboxObjectType.ps1 similarity index 100% rename from Functions/Setup/Support/Get-NetboxContentType.ps1 rename to Functions/Setup/Support/Get-NetboxObjectType.ps1 diff --git a/Tests/common.ps1 b/Tests/common.ps1 index 116dc24..ad23eef 100644 --- a/Tests/common.ps1 +++ b/Tests/common.ps1 @@ -8,12 +8,12 @@ Param() $script:pester_site1 = "pester_site1" +. ../credential.ps1 +#TODO: Add check if no ipaddress/token info... + $Credential = New-Object System.Management.Automation.PSCredential("username", (ConvertTo-SecureString $token -AsPlainText -Force)) $script:invokeParams = @{ hostname = $hostname; Credential = $Credential; SkipCertificateCheck = $true; } - -. ../credential.ps1 -#TODO: Add check if no ipaddress/token info... \ No newline at end of file