aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-download-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ephy-download-test.c')
-rw-r--r--tests/ephy-download-test.c3
1 files changed, 2 insertions, 1 deletions
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);