Update test_soap to new query struct
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 10 Sep 2013 09:34:21 +0000 (11:34 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 10 Sep 2013 09:34:21 +0000 (11:34 +0200)
test/test_soap2.c

index d371b8c..7b4bc46 100644 (file)
@@ -32,9 +32,9 @@ static void tst_srw(void)
     YAZ_CHECK(sr);
     YAZ_CHECK(p);
 #if 0
-    sr->u.request->query.cql = "jordb" "\xe6" "r";
+    sr->u.request->query = "jordb" "\xe6" "r";
 #else
-    sr->u.request->query.cql = "jordbaer";
+    sr->u.request->query = "jordbaer";
 #endif
 
     p->which = Z_SOAP_generic;