Skip to content

Commit

Permalink
chore: Uses Mockery instead of manually created mocks in project unit…
Browse files Browse the repository at this point in the history
… tests (#1788)

* use mockery to generate mocks

* remove unnecessary maybe

* change from testObject to svc

* remove ProjectResponse in favor of specific structs
  • Loading branch information
oarbusi authored Dec 22, 2023
1 parent 2c96c61 commit 117f6e0
Show file tree
Hide file tree
Showing 3 changed files with 518 additions and 161 deletions.
2 changes: 2 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ mockname: "{{.InterfaceName}}"
packages:
? github.com/mongodb/terraform-provider-mongodbatlas/internal/service/searchdeployment
? github.com/mongodb/terraform-provider-mongodbatlas/internal/service/encryptionatrest
? github.com/mongodb/terraform-provider-mongodbatlas/internal/service/project
: interfaces:
DeploymentService:
EarService:
GroupProjectService:
Loading

0 comments on commit 117f6e0

Please sign in to comment.