[Catalyst-commits] r14498 - CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/t
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Fri Feb 28 15:07:36 GMT 2014
Author: karpet
Date: 2014-02-28 15:07:36 +0000 (Fri, 28 Feb 2014)
New Revision: 14498
Modified:
CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/t/01-dbic.t
Log:
add OR test to validate parsing logic
Modified: CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/t/01-dbic.t
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/t/01-dbic.t 2014-02-28 15:05:29 UTC (rev 14497)
+++ CatalystX-CRUD/CatalystX-CRUD-ModelAdapter-DBIC/trunk/t/01-dbic.t 2014-02-28 15:07:36 UTC (rev 14498)
@@ -99,9 +99,10 @@
ok( $res = request(
POST(
'/crud/search',
- [ 'me.title' => qq/"way i"/,
+ [ 'me.title' => qq/"way i" nowayimatchanything/,
'cxc-fuzzy2' => 1,
'cxc-order' => 'me.trackid ASC me.title DESC',
+ 'cxc-op' => 'OR',
]
)
),
More information about the Catalyst-commits
mailing list