From 74fe7c3eaacf8fb42e1be8b9fd1accc9bb750c08 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 10 Jan 2014 16:55:37 +0000 Subject: [PATCH] Bug 10952: (follow-up) remove mention of KohaOpacRecentSearches cookie Now that this cookie no longer exists, remove mention of it from a test case. Signed-off-by: Galen Charlton (cherry picked from commit da853bf74eefbd935734177722aaa763ce71d170) Signed-off-by: Fridolin Somers --- t/db_dependent/Auth.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Auth.t b/t/db_dependent/Auth.t index 8bb01bbff6..6a100bc5dc 100644 --- a/t/db_dependent/Auth.t +++ b/t/db_dependent/Auth.t @@ -65,9 +65,9 @@ $dbh->{RaiseError} = 1; C4::Context->set_preference('opaclanguages','en,es-ES'); C4::Context->set_preference('language','en,es-ES'); - # we need a session cookie and have some anonymous search history + # we need a session cookie $ENV{"SERVER_PORT"} = 80; - $ENV{"HTTP_COOKIE"} = 'CGISESSID=nirvana; KohaOpacRecentSearches=%255B%257B%2522time%2522%253A1378313124%252C%2522query_cgi%2522%253A%2522idx%253D%2526q%253Dhistory%2526branch_group_limit%253D%2522%252C%2522total%2522%253A3%252C%2522query_desc%2522%253A%2522kw%252Cwrdl%253A%2520history%252C%2520%2522%257D%252C%257B%2522time%2522%253A1378313137%252C%2522query_cgi%2522%253A%2522idx%253D%2526q%253D%2525D8%2525B9%2525D8%2525B1%2525D8%2525A8%2525D9%25258A%25252F%2525D8%2525B9%2525D8%2525B1%2525D8%2525A8%2525D9%252589%2526branch_group_limit%253D%2522%252C%2522total%2522%253A2%252C%2522query_desc%2522%253A%2522kw%252Cwrdl%253A%2520%25D8%25B9%25D8%25B1%25D8%25A8%25D9%258A%252F%25D8%25B9%25D8%25B1%25D8%25A8%25D9%2589%252C%2520%2522%257D%255D'; + $ENV{"HTTP_COOKIE"} = 'CGISESSID=nirvana'; my $query = new CGI; $query->param('language','es-ES'); -- 2.39.5