Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaydon committed Oct 7, 2020
1 parent 9a39ced commit 1a962dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/core.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ Describe 'CallRestUri' {
InModuleScope Qlik-Cli {
Context 'when uploading or downloading files' {
BeforeAll {
Mock Invoke-WebRequest -Verifiable {}
Mock Invoke-WebRequest -Verifiable { }
Mock Invoke-RestMethod { throw 'Invoke-RestMethod should not be used for file transfers' }
$script:prefix = 'https://localhost'
$script:api_params = @{}
$script:api_params = @{ }
$script:rawOutput = $true
}

it 'should use Invoke-WebRequest' {
CallRestUri GET /qrs/download/scriptlog @{OutFile='TestDrive:\script.log'}
CallRestUri GET /qrs/download/scriptlog @{ OutFile = 'TestDrive:\script.log' }

Assert-VerifiableMock
}
Expand Down

0 comments on commit 1a962dd

Please sign in to comment.