Bug 17278: Fix test compilation errors
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 22 Nov 2016 07:33:50 +0000 (07:33 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 22 Nov 2016 17:44:51 +0000 (17:44 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Search.t

index 86b4612..fd9ad98 100644 (file)
@@ -612,7 +612,7 @@ if ( $indexing_mode eq 'dom' ) {
     ( $error, $query, $simple_query, $query_cgi,
     $query_desc, $limit, $limit_cgi, $limit_desc,
     $query_type ) = buildQuery([], [ 'ccl=an:42' ], [], ['available'], [], 0, 'en');
-    is( $query, 'an:42 and ( ( allrecords,AlwaysMatches:'' not onloan,AlwaysMatches:'') and (lost,st-numeric=0) )', 'buildQuery should add the available part to the query if requested with ccl' );
+    is( $query, "an:42 and ( ( allrecords,AlwaysMatches:'' not onloan,AlwaysMatches:'') and (lost,st-numeric=0) )", 'buildQuery should add the available part to the query if requested with ccl' );
     is( $query_desc, 'an:42', 'buildQuery should remove the available part from the query' );
 
     # Let's see what happens when we pass bad data into these routines.