From 209c122a52df218e342d34fdd9cca0918fd8c3a6 Mon Sep 17 00:00:00 2001 From: Jahziel Villasana-Espinoza Date: Fri, 24 May 2024 10:36:49 -0400 Subject: [PATCH] chore: uncomment test --- server/datastore/mysql/apple_mdm_test.go | 70 ++++++++++++------------ 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/server/datastore/mysql/apple_mdm_test.go b/server/datastore/mysql/apple_mdm_test.go index b356cebeb2..f2ecc96d5c 100644 --- a/server/datastore/mysql/apple_mdm_test.go +++ b/server/datastore/mysql/apple_mdm_test.go @@ -39,41 +39,41 @@ func TestMDMApple(t *testing.T) { name string fn func(t *testing.T, ds *Datastore) }{ - // {"TestNewMDMAppleConfigProfileDuplicateName", testNewMDMAppleConfigProfileDuplicateName}, - // {"TestNewMDMAppleConfigProfileLabels", testNewMDMAppleConfigProfileLabels}, - // {"TestNewMDMAppleConfigProfileDuplicateIdentifier", testNewMDMAppleConfigProfileDuplicateIdentifier}, - // {"TestDeleteMDMAppleConfigProfile", testDeleteMDMAppleConfigProfile}, - // {"TestDeleteMDMAppleConfigProfileByTeamAndIdentifier", testDeleteMDMAppleConfigProfileByTeamAndIdentifier}, - // {"TestListMDMAppleConfigProfiles", testListMDMAppleConfigProfiles}, - // {"TestHostDetailsMDMProfiles", testHostDetailsMDMProfiles}, - // {"TestBatchSetMDMAppleProfiles", testBatchSetMDMAppleProfiles}, - // {"TestMDMAppleProfileManagement", testMDMAppleProfileManagement}, - // {"TestMDMAppleProfileManagementBatch2", testMDMAppleProfileManagementBatch2}, - // {"TestMDMAppleProfileManagementBatch3", testMDMAppleProfileManagementBatch3}, - // {"TestGetMDMAppleProfilesContents", testGetMDMAppleProfilesContents}, - // {"TestAggregateMacOSSettingsStatusWithFileVault", testAggregateMacOSSettingsStatusWithFileVault}, - // {"TestMDMAppleHostsProfilesStatus", testMDMAppleHostsProfilesStatus}, - // {"TestMDMAppleIdPAccount", testMDMAppleIdPAccount}, - // {"TestIgnoreMDMClientError", testDoNotIgnoreMDMClientError}, - // {"TestDeleteMDMAppleProfilesForHost", testDeleteMDMAppleProfilesForHost}, - // {"TestGetMDMAppleCommandResults", testGetMDMAppleCommandResults}, - // {"TestBulkUpsertMDMAppleConfigProfiles", testBulkUpsertMDMAppleConfigProfile}, - // {"TestMDMAppleBootstrapPackageCRUD", testMDMAppleBootstrapPackageCRUD}, - // {"TestListMDMAppleCommands", testListMDMAppleCommands}, - // {"TestMDMAppleSetupAssistant", testMDMAppleSetupAssistant}, - // {"TestMDMAppleEnrollmentProfile", testMDMAppleEnrollmentProfile}, - // {"TestListMDMAppleSerials", testListMDMAppleSerials}, - // {"TestMDMAppleDefaultSetupAssistant", testMDMAppleDefaultSetupAssistant}, - // {"TestSetVerifiedMacOSProfiles", testSetVerifiedMacOSProfiles}, - // {"TestMDMAppleConfigProfileHash", testMDMAppleConfigProfileHash}, - // {"TestMDMAppleResetEnrollment", testMDMAppleResetEnrollment}, - // {"TestMDMAppleDeleteHostDEPAssignments", testMDMAppleDeleteHostDEPAssignments}, - // {"LockUnlockWipeMacOS", testLockUnlockWipeMacOS}, - // {"ScreenDEPAssignProfileSerialsForCooldown", testScreenDEPAssignProfileSerialsForCooldown}, - // {"MDMAppleDDMDeclarationsToken", testMDMAppleDDMDeclarationsToken}, - // {"MDMAppleSetPendingDeclarationsAs", testMDMAppleSetPendingDeclarationsAs}, - // {"SetOrUpdateMDMAppleDeclaration", testSetOrUpdateMDMAppleDDMDeclaration}, - // {"DEPAssignmentUpdates", testMDMAppleDEPAssignmentUpdates}, + {"TestNewMDMAppleConfigProfileDuplicateName", testNewMDMAppleConfigProfileDuplicateName}, + {"TestNewMDMAppleConfigProfileLabels", testNewMDMAppleConfigProfileLabels}, + {"TestNewMDMAppleConfigProfileDuplicateIdentifier", testNewMDMAppleConfigProfileDuplicateIdentifier}, + {"TestDeleteMDMAppleConfigProfile", testDeleteMDMAppleConfigProfile}, + {"TestDeleteMDMAppleConfigProfileByTeamAndIdentifier", testDeleteMDMAppleConfigProfileByTeamAndIdentifier}, + {"TestListMDMAppleConfigProfiles", testListMDMAppleConfigProfiles}, + {"TestHostDetailsMDMProfiles", testHostDetailsMDMProfiles}, + {"TestBatchSetMDMAppleProfiles", testBatchSetMDMAppleProfiles}, + {"TestMDMAppleProfileManagement", testMDMAppleProfileManagement}, + {"TestMDMAppleProfileManagementBatch2", testMDMAppleProfileManagementBatch2}, + {"TestMDMAppleProfileManagementBatch3", testMDMAppleProfileManagementBatch3}, + {"TestGetMDMAppleProfilesContents", testGetMDMAppleProfilesContents}, + {"TestAggregateMacOSSettingsStatusWithFileVault", testAggregateMacOSSettingsStatusWithFileVault}, + {"TestMDMAppleHostsProfilesStatus", testMDMAppleHostsProfilesStatus}, + {"TestMDMAppleIdPAccount", testMDMAppleIdPAccount}, + {"TestIgnoreMDMClientError", testDoNotIgnoreMDMClientError}, + {"TestDeleteMDMAppleProfilesForHost", testDeleteMDMAppleProfilesForHost}, + {"TestGetMDMAppleCommandResults", testGetMDMAppleCommandResults}, + {"TestBulkUpsertMDMAppleConfigProfiles", testBulkUpsertMDMAppleConfigProfile}, + {"TestMDMAppleBootstrapPackageCRUD", testMDMAppleBootstrapPackageCRUD}, + {"TestListMDMAppleCommands", testListMDMAppleCommands}, + {"TestMDMAppleSetupAssistant", testMDMAppleSetupAssistant}, + {"TestMDMAppleEnrollmentProfile", testMDMAppleEnrollmentProfile}, + {"TestListMDMAppleSerials", testListMDMAppleSerials}, + {"TestMDMAppleDefaultSetupAssistant", testMDMAppleDefaultSetupAssistant}, + {"TestSetVerifiedMacOSProfiles", testSetVerifiedMacOSProfiles}, + {"TestMDMAppleConfigProfileHash", testMDMAppleConfigProfileHash}, + {"TestMDMAppleResetEnrollment", testMDMAppleResetEnrollment}, + {"TestMDMAppleDeleteHostDEPAssignments", testMDMAppleDeleteHostDEPAssignments}, + {"LockUnlockWipeMacOS", testLockUnlockWipeMacOS}, + {"ScreenDEPAssignProfileSerialsForCooldown", testScreenDEPAssignProfileSerialsForCooldown}, + {"MDMAppleDDMDeclarationsToken", testMDMAppleDDMDeclarationsToken}, + {"MDMAppleSetPendingDeclarationsAs", testMDMAppleSetPendingDeclarationsAs}, + {"SetOrUpdateMDMAppleDeclaration", testSetOrUpdateMDMAppleDDMDeclaration}, + {"DEPAssignmentUpdates", testMDMAppleDEPAssignmentUpdates}, {"TestInsertMDMAsset", testMDMConfigAsset}, }