mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
fix mysql 8+ test (#17702)
This commit is contained in:
parent
e26d23460c
commit
93f040f7da
1 changed files with 2 additions and 2 deletions
|
|
@ -4603,7 +4603,7 @@ func testMDMAppleRecordDeclarativeCheckIn(t *testing.T, ds *Datastore) {
|
|||
require.NoError(t, err)
|
||||
|
||||
// record a response from the host
|
||||
err = ds.MDMAppleRecordDeclarativeCheckIn(ctx, host.UUID, []byte("foo"))
|
||||
err = ds.MDMAppleRecordDeclarativeCheckIn(ctx, host.UUID, []byte("<?xml"))
|
||||
require.NoError(t, err)
|
||||
|
||||
res, err := ds.GetMDMAppleCommandResults(ctx, cmdUUID)
|
||||
|
|
@ -4611,7 +4611,7 @@ func testMDMAppleRecordDeclarativeCheckIn(t *testing.T, ds *Datastore) {
|
|||
require.Len(t, res, 1)
|
||||
require.Equal(t, host.UUID, res[0].HostUUID)
|
||||
require.Equal(t, fleet.MDMAppleStatusAcknowledged, res[0].Status)
|
||||
require.EqualValues(t, []byte("foo"), res[0].Result)
|
||||
require.EqualValues(t, []byte("<?xml"), res[0].Result)
|
||||
}
|
||||
|
||||
func TestMDMAppleProfileVerification(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue