techthoughts2 / Catesta

Catesta is a PowerShell module and vault project generator. It uses templates to rapidly scaffold test and build integration for a variety of CI/CD platforms.
https://www.catesta.dev/
MIT License
169 stars 20 forks source link

Assert-MockCalled being deprecated in Pester 5 #56

Closed techthoughts2 closed 2 years ago

techthoughts2 commented 2 years ago

Description

Assert-MockCalled is being deprecated in Pester 5:

THIS COMMAND IS OBSOLETE AND WILL BE REMOVED SOMEWHERE DURING v5 LIFETIME, USE Should -Invoke INSTEAD.

Describe the solution you'd like

Remove use of Assert-MockCalled in all Pester 5 use cases throughout Catesta code base