Skip to content

Commit

Permalink
update New-CFD1Database.Tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
connorcarnes committed Dec 21, 2023
1 parent 9efc526 commit 378e559
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Tests/Unit/Public/New-CFD1Database.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ InModuleScope 'pwshCloudflare' {
# Mock the dependent cmdlets and variables
$script:cfBaseApiUrl = 'https://api.cloudflare.com/client/v4'
Mock Invoke-CFRestMethod { return [PSCustomObject]@{ result = [PSCustomObject]@{ DatabaseName = 'myDb' } } }
Mock Find-CFD1Database { return [PSCustomObject]@{ result = [PSCustomObject]@{ DatabaseName = 'myDb' } } }
}
Context 'Error' {
It 'should throw an error if required parameters are missing' {
Expand Down

0 comments on commit 378e559

Please sign in to comment.