aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-02-29 23:35:32 +0800
committerXan Lopez <xan@igalia.com>2012-03-07 04:49:44 +0800
commit92dec4e47d68bfb77be9ff256fcf44d1407d4ef4 (patch)
treece2d1e7a37a200d7ca714761c4a44685d11f594f /tests
parent8ad6302a3f9e1a867f3dd61605196d22e9bd2f86 (diff)
downloadgsoc2013-epiphany-92dec4e47d68bfb77be9ff256fcf44d1407d4ef4.tar
gsoc2013-epiphany-92dec4e47d68bfb77be9ff256fcf44d1407d4ef4.tar.gz
gsoc2013-epiphany-92dec4e47d68bfb77be9ff256fcf44d1407d4ef4.tar.bz2
gsoc2013-epiphany-92dec4e47d68bfb77be9ff256fcf44d1407d4ef4.tar.lz
gsoc2013-epiphany-92dec4e47d68bfb77be9ff256fcf44d1407d4ef4.tar.xz
gsoc2013-epiphany-92dec4e47d68bfb77be9ff256fcf44d1407d4ef4.tar.zst
gsoc2013-epiphany-92dec4e47d68bfb77be9ff256fcf44d1407d4ef4.zip
Store zoom levels per host, not per URL
Zoom levels have always been stored per host in Epiphany, not per URL (otherwise you'd have to re-apply the zoom level again and again when visiting, say, every news entry in your favorite newspaper). Change things to work like that. Note: this changes the SQL table format for the history, so you'll need to re-migrate your history.
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ephy-history.c b/tests/ephy-history.c
index 1ff376741..4abd1f064 100644
--- a/tests/ephy-history.c
+++ b/tests/ephy-history.c
@@ -368,7 +368,7 @@ perform_complex_url_query (EphyHistoryService *service,
/* The expected result. */
url = ephy_history_url_new ("http://www.wikipedia.org",
"Wikipedia",
- 30, 30, 0, 1);
+ 30, 30, 0);
ephy_history_service_query_urls (service, query, verify_complex_url_query, url);
}
@@ -408,7 +408,7 @@ perform_complex_url_query_with_time_range (EphyHistoryService *service,
/* The expected result. */
url = ephy_history_url_new ("http://www.webkitgtk.org",
"WebKitGTK+",
- 2, 2, 0, 1);
+ 2, 2, 0);
ephy_history_service_query_urls (service, query, verify_complex_url_query, url);
}