Allow Content-Type application/sru+xml YAZ-840
[yaz-moved-to-github.git] / test / test_soap2.c
index d371b8c..5120686 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 #if HAVE_CONFIG_H
@@ -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;