13
0

New sessions are saved implicitly, remove explicit call

This commit is contained in:
Robin Gareus 2019-09-05 17:01:19 +02:00
parent 51b2e305c4
commit dfdce83452
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -35,8 +35,6 @@ SessionTest::new_session ()
CPPUNIT_ASSERT (new_session); CPPUNIT_ASSERT (new_session);
new_session->save_state ("");
delete new_session; delete new_session;
stop_and_destroy_backend (); stop_and_destroy_backend ();
} }
@ -67,8 +65,6 @@ SessionTest::new_session_from_template ()
CPPUNIT_ASSERT (new_session); CPPUNIT_ASSERT (new_session);
new_session->save_state ("");
delete new_session; delete new_session;
stop_and_destroy_backend (); stop_and_destroy_backend ();
@ -115,8 +111,6 @@ SessionTest::open_session_utf8_path ()
CPPUNIT_ASSERT (session); CPPUNIT_ASSERT (session);
session->save_state ("");
} catch(...) { } catch(...) {
new_session_failed = true; new_session_failed = true;