diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2020-03-01 20:57:30 +0100 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-03-07 20:30:05 +0000 |
commit | b5844b4530893569a2462fac05f928dd9381d978 (patch) | |
tree | acfa78501546831565b2afacae00a13c05c39342 /tests | |
parent | 5d07310862c4595defcb96d74a819c35c832a7b8 (diff) | |
download | epiphany-b5844b4530893569a2462fac05f928dd9381d978.tar.gz |
Fix bookmark-editing lockdown option
Hide bookmark star in location entry and preferences button in bookmark
popover.
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/339
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ephy-location-entry-test.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ephy-location-entry-test.c b/tests/ephy-location-entry-test.c index edd8d7062..db412847c 100644 --- a/tests/ephy-location-entry-test.c +++ b/tests/ephy-location-entry-test.c @@ -20,6 +20,7 @@ #include "config.h" #include "ephy-debug.h" +#include "ephy-file-helpers.h" #include "ephy-location-entry.h" #include "ephy-title-widget.h" #include <glib.h> @@ -146,6 +147,13 @@ main (int argc, gtk_test_init (&argc, &argv); ephy_debug_init (); + if (!ephy_file_helpers_init (NULL, + EPHY_FILE_HELPERS_TESTING_MODE | EPHY_FILE_HELPERS_ENSURE_EXISTS, + NULL)) { + g_debug ("Something wrong happened with ephy_file_helpers_init()"); + return -1; + } + g_test_add_func ("/lib/widgets/ephy-location-entry/new", test_entry_new); g_test_add_func ("/lib/widgets/ephy-location-entry/get_entry", |