diff --git a/src/modules/partition/tests/JobTests.cpp b/src/modules/partition/tests/JobTests.cpp index 6228d6bed..adde20f60 100644 --- a/src/modules/partition/tests/JobTests.cpp +++ b/src/modules/partition/tests/JobTests.cpp @@ -276,6 +276,8 @@ JobTests::testResizePartition() QVERIFY( partition ); ResizePartitionJob* job = new ResizePartitionJob( m_device.data(), partition, newFirst, newLast ); + job->updatePreview(); + m_queue.enqueue( job_ptr( job ) ); QVERIFY( m_runner.run() ); }