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 9d003c0..1bc3a00 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';