Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit dd2b417e authored by Dmitry Kazakov's avatar Dmitry Kazakov Committed by Boudewijn Rempt

Fix KisNodeModelTest

parent c1981cf4
......@@ -41,7 +41,6 @@ void KisNodeModelTest::init()
m_nodeModel = new KisNodeModel(0);
initBase();
constructImage();
m_doc->setCurrentImage(m_image);
}
......@@ -58,6 +57,7 @@ void KisNodeModelTest::cleanup()
void KisNodeModelTest::testSetImage()
{
constructImage();
m_shapeController->setImage(m_image);
m_nodeModel->setDummiesFacade(m_shapeController, m_image, 0, 0, 0);
new ModelTest(m_nodeModel, this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment