[glom] tests_selfhosting_utils.cc: Restore a wrongly-changed code line.



commit 9fa3fefcf19439f086971924f034398d0b57c92c
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Jun 30 20:49:21 2015 +0200

    tests_selfhosting_utils.cc: Restore a wrongly-changed code line.
    
    This seems to have happened during a rebase.

 tests/test_selfhosting_utils.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_selfhosting_utils.cc b/tests/test_selfhosting_utils.cc
index 9f576eb..039c022 100644
--- a/tests/test_selfhosting_utils.cc
+++ b/tests/test_selfhosting_utils.cc
@@ -379,7 +379,7 @@ bool test_create_and_selfhost_from_data(const Glib::ustring& example_file_conten
     return false;
   }
 
-  const bool recreated = Glom::DbUtils::recreate_database_from_document(&document, &on_recreate_progress );
+  document.set_allow_autosave(false); //To simplify things and to not depend implicitly on autosave.
 
   int failure_code = 0;
   const bool test = document.load_from_data((const guchar*)example_file_contents.c_str(), 
example_file_contents.bytes(), failure_code);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]