From: Adam Dickmeiss Date: Thu, 15 Oct 2009 08:37:03 +0000 (+0200) Subject: Addd test case for per-session setting X-Git-Tag: v1.2.3~17 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=7b9406526a115c3c35471d0922b368fc8784e736;p=pazpar2-moved-to-github.git Addd test case for per-session setting --- diff --git a/test/test_settings_2.res b/test/test_settings_2.res index ab63fe6..42534e3 100644 --- a/test/test_settings_2.res +++ b/test/test_settings_2.res @@ -1,2 +1,2 @@ -OK \ No newline at end of file +OK \ No newline at end of file diff --git a/test/test_settings_3.res b/test/test_settings_3.res index b530805..ab63fe6 100644 --- a/test/test_settings_3.res +++ b/test/test_settings_3.res @@ -1,16 +1,2 @@ -OK -z3950.indexdata.com/marc -Target name -0 -0 -0 -Client_Idle - - - - - - - - \ No newline at end of file +OK \ No newline at end of file diff --git a/test/test_settings_4.res b/test/test_settings_4.res new file mode 100644 index 0000000..d1ba5b1 --- /dev/null +++ b/test/test_settings_4.res @@ -0,0 +1,17 @@ + +OK +z3950.indexdata.com/marc +Target name +0 +0 +0 +Client_Idle + + + + + + + + + \ No newline at end of file diff --git a/test/test_settings_urls b/test/test_settings_urls index cc990c1..4222fbc 100644 --- a/test/test_settings_urls +++ b/test/test_settings_urls @@ -1,4 +1,5 @@ http://localhost:9763/search.pz2?session=1&command=init +http://localhost:9763/search.pz2?session=1&command=settings&category%5Bz3950.indexdata.com%2Fmarc%5D=1 http://localhost:9763/search.pz2?session=1&command=search&query=water 2 http://localhost:9763/search.pz2?session=1&command=bytarget&settings=1