build: Modify mockery config to work with v3

Maintaining the positioning of the files from v2 to reduce cognitive
load.
Indentation of yaml files now matches `.editorconfig`.
All mock files regenerated.
Added empty `{}` following convention from `mockery init` etc.
Removed directory specification where it would already match.
This commit is contained in:
06kellyjac
2025-06-19 16:25:39 +01:00
parent 0630d4552a
commit 2a3a20693a
42 changed files with 5647 additions and 4010 deletions
+9 -11
View File
@@ -1,13 +1,11 @@
issue-845-fix: True
resolve-type-alias: False
with-expecter: true
disable-version-string: True
# maintain v2 separate mocks dir
dir: "{{.InterfaceDir}}/mocks"
structname: "{{.InterfaceName}}"
filename: "{{.InterfaceName | snakecase }}.go"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
pkgname: mocks
template: testify
packages:
github.com/opencloud-eu/opencloud/services/settings/pkg/settings:
config:
dir: "pkg/settings/mocks"
interfaces:
Manager:
github.com/opencloud-eu/opencloud/services/settings/pkg/settings:
interfaces:
Manager: {}
File diff suppressed because it is too large Load Diff