Commit 60ffbc7c authored by Igor Kushnir's avatar Igor Kushnir

Fix a new test_documentcontroller test failure

300ea014 introduced
DocumentControllerPrivate::shuttingDown variable. It is set to false in
constructor and to true in DocumentController::cleanup(). However
TestDocumentController::init() calls DocumentController::initialize()
before each test function; TestDocumentController::cleanup() calls
DocumentController::cleanup() after each test function. So the second
test function fails to open a document after shutdown.

Let us set DocumentControllerPrivate::shuttingDown to false in
DocumentController::initialize() to fix the test failure.
parent 300ea014
Pipeline #37914 failed with stage
in 61 minutes and 8 seconds