Commit c0d56f86 authored by Dmitry Kazakov's avatar Dmitry Kazakov Committed by Blackbeard (alberto flores)

Fix KisNodeModelTest

parent 47a727a1
......@@ -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