From 779da3502b1b4253ebb51bf1938a9edfd6bdc7df Mon Sep 17 00:00:00 2001 From: Jahziel Villasana-Espinoza Date: Wed, 2 Apr 2025 17:17:15 -0400 Subject: [PATCH] remove assertions that are not super important and can fail when FMA list changes (#27813) Updates a test that can fail whenever the FMA list changes; the assertions are from back when FMA was macOS only, so they're OK to remove (the important stuff is still being tested) # Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Added/updated automated tests --- server/service/integration_enterprise_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/service/integration_enterprise_test.go b/server/service/integration_enterprise_test.go index e3645ad753..3a58864a03 100644 --- a/server/service/integration_enterprise_test.go +++ b/server/service/integration_enterprise_test.go @@ -16500,8 +16500,6 @@ func (s *integrationEnterpriseTestSuite) TestMaintainedApps() { require.NoError(t, err) require.Equal(t, 1, resp.Count) title = resp.SoftwareTitles[0] - require.NotNil(t, title.BundleIdentifier) - require.Equal(t, ptr.String(mapp.BundleIdentifier()), title.BundleIdentifier) require.Equal(t, title.ID, *mapp.TitleID) require.Equal(t, mapp.Version, title.SoftwarePackage.Version) require.Equal(t, "installer.zip", title.SoftwarePackage.Name) @@ -16510,7 +16508,6 @@ func (s *integrationEnterpriseTestSuite) TestMaintainedApps() { require.NoError(t, err) require.Equal(t, ptr.Uint(4), i.FleetMaintainedAppID) require.Equal(t, mapp.SHA256, i.StorageID) - require.Equal(t, "darwin", i.Platform) require.NotEmpty(t, i.InstallScriptContentID) require.Equal(t, req.PreInstallQuery, i.PreInstallQuery) install, err = s.ds.GetAnyScriptContents(ctx, i.InstallScriptContentID)