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 @@ -56,7 +56,7 @@ Mock -ModuleName $ModuleName Invoke-RestMethod {
5656
5757
5858# Additional variables to use when testing
59- $PSZoomToken = ConvertTo-SecureString - String ' faketoken' - AsPlainText - Force
59+ $Global : PSZoomToken = ConvertTo-SecureString - String ' faketoken' - AsPlainText - Force
6060$AssistantId = ' TestAssistantId'
6161$AssistantId2 = ' TestAssistantId2'
6262$UserEmail = ' TestEmail@test.com'
@@ -76,7 +76,7 @@ $PageUrl = 'http://www.pageurltest.com'
7676Describe ' PSZoom Core Tests' {
7777 Describe ' New-ZoomHeaders' {
7878 It ' Should create the correct headers' {
79- $headers = New-ZoomHeaders - Token $PSZoomToken
79+ $headers = New-ZoomHeaders - Token $Global : PSZoomToken
8080 $headers .' content-type' | Should - Be ' application/json'
8181 $headers .' authorization' | Should - BeLike ' *bearer*'
8282 }
You can’t perform that action at this time.
0 commit comments