]> wagnertech.de Git - kivitendo-erp.git/commitdiff
parse_filter.t auf perl5.18 angepasst
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 15 May 2013 09:37:36 +0000 (11:37 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 15 May 2013 09:37:36 +0000 (11:37 +0200)
t/controllers/helpers/parse_filter.t

index 9d003c0453e55552f0a1d92e49c147e98ea8f303..1bc3a00b8dc7317201c01557a939df8a7ae18ffe 100644 (file)
@@ -35,10 +35,10 @@ test {
   name => 'Test',
   whut => 'moof',
 }, {
-  query => [ %{{
+  query => bag(
     name => 'Test',
     whut => 'moof'
-  }} ],
+  ),
 }, 'basic test';
 
 test {
@@ -96,10 +96,10 @@ test {
     },
   },
 }, {
-  'query' => [ %{{
+  'query' => bag(
                'invoice.customer.name'  => 'test',
                'customer.name'          => 'test',
-             }} ],
+            ),
   'with_objects' => bag( 'invoice.customer', 'customer', 'invoice' )
 }, 'object in more than one relationship';