fleet/pkg/spec
Scott Gress 3ae98ee01d
Clean up Gitops tests and add deprecation tests (#43039)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** For #40015

* Moves repeated empty mocks into a new `setupEmptyGitOpsMocks` method
* Adds new "deprecation" tests:
* In TestGitOpsFullGlobal, TestGitOpsFullTeam and
TestGitOpsFullGlobalAndTeam tests "kitchen sink" with both new and
deprecated keys
* Added keys and checks to verify `setup_experience`,
`apple_business_manager` and `volume_purchasing_program` configs
* Consolidated map of deprecated -> new GitOps keys in one place
2026-04-08 11:57:03 -05:00
..
testdata Clean up Gitops tests and add deprecation tests (#43039) 2026-04-08 11:57:03 -05:00
gitops.go ACME MDM -> main (#42926) 2026-04-02 15:56:31 -05:00
gitops_deprecations.go Clean up Gitops tests and add deprecation tests (#43039) 2026-04-08 11:57:03 -05:00
gitops_test.go Clean up Gitops tests and add deprecation tests (#43039) 2026-04-08 11:57:03 -05:00
gitops_validate.go Feat/31914 patch policy (#41518) 2026-03-13 16:47:09 -04:00
gitops_validate_test.go Feat/31914 patch policy (#41518) 2026-03-13 16:47:09 -04:00
spec.go Activate deprecation warnings (#41449) 2026-04-06 09:59:32 -05:00
spec_test.go Add aliases for macos fields (#40959) 2026-03-05 18:08:54 -06:00