diff --git a/pkg/osbuild/bootupd_stage_test.go b/pkg/osbuild/bootupd_stage_test.go index ccfbf6b460..c7530d163d 100644 --- a/pkg/osbuild/bootupd_stage_test.go +++ b/pkg/osbuild/bootupd_stage_test.go @@ -290,8 +290,12 @@ func TestGenBootupdDevicesMountsHappy(t *testing.T) { func TestGenBootupdDevicesMountsHappyBtrfs(t *testing.T) { filename := "fake-disk.img" + pf := &platform.X86{ + BasePlatform: platform.BasePlatform{}, + UEFIVendor: "test", + } - devices, mounts, err := osbuild.GenBootupdDevicesMounts(filename, testdisk.MakeFakeBtrfsPartitionTable("/", "/home", "/boot/efi", "/boot")) + devices, mounts, err := osbuild.GenBootupdDevicesMounts(filename, testdisk.MakeFakeBtrfsPartitionTable("/", "/home", "/boot/efi", "/boot"), pf) require.Nil(t, err) assert.Equal(t, devices, map[string]osbuild.Device{ "disk": {