From 35432d8999700bcf39d4c398299335d1b67b891a Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Thu, 29 Aug 2013 19:16:56 +0300 Subject: ephy-download-test.c: initialize the file_helpers earlier The shell needs these to be ready, otherwise the test will break. --- tests/ephy-download-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ephy-download-test.c b/tests/ephy-download-test.c index 98ab2b119..3e5557e03 100644 --- a/tests/ephy-download-test.c +++ b/tests/ephy-download-test.c @@ -166,7 +166,6 @@ main (int argc, char *argv[]) ephy_debug_init (); ephy_embed_prefs_init (); - _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST); if (!ephy_file_helpers_init (NULL, EPHY_FILE_HELPERS_PRIVATE_PROFILE | EPHY_FILE_HELPERS_ENSURE_EXISTS, @@ -175,6 +174,8 @@ main (int argc, char *argv[]) return -1; } + _ephy_shell_create_instance (EPHY_EMBED_SHELL_MODE_TEST); + server = soup_server_new (SOUP_SERVER_PORT, 0, NULL); soup_server_run_async (server); -- cgit v1.2.3