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.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Added/updated automated tests
This commit is contained in:
Jahziel Villasana-Espinoza 2025-04-02 17:17:15 -04:00 committed by GitHub
parent 173b0826f9
commit 779da3502b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)