tests: An enrolled print needs to have a type set
This commit is contained in:
parent
cecb01bcb9
commit
7f58556011
1 changed files with 4 additions and 1 deletions
|
@ -100,7 +100,10 @@ fpi_device_fake_enroll (FpDevice *device)
|
||||||
fpi_device_get_enroll_data (device, (FpPrint **) &fake_dev->action_data);
|
fpi_device_get_enroll_data (device, (FpPrint **) &fake_dev->action_data);
|
||||||
|
|
||||||
if (!print && !fake_dev->ret_error)
|
if (!print && !fake_dev->ret_error)
|
||||||
|
{
|
||||||
fpi_device_get_enroll_data (device, &print);
|
fpi_device_get_enroll_data (device, &print);
|
||||||
|
fpi_print_set_type (print, FPI_PRINT_RAW);
|
||||||
|
}
|
||||||
|
|
||||||
fpi_device_enroll_complete (device,
|
fpi_device_enroll_complete (device,
|
||||||
print ? g_object_ref (print) : NULL,
|
print ? g_object_ref (print) : NULL,
|
||||||
|
|
Loading…
Reference in a new issue