fix(fleet): compare customer identities without collation conflicts
This commit is contained in:
+2
@@ -59,6 +59,8 @@ public class VehicleFulfillmentQueryTest {
|
||||
}
|
||||
@Test void currentPlanUsesStableVehicleIdentityAndCustomerScopedDispatchJoin() {
|
||||
delivery(23,11,"WRONG-CUSTOMER");
|
||||
delivery(24,11,"CUSTOMER-A-OTHER");
|
||||
delivery(25,11,"customer-a");
|
||||
var result = service.deliveries(8,new VehicleFulfillmentModels.Query(1,10));
|
||||
assertThat(result.total()).isEqualTo(2);
|
||||
assertThat(result.records()).extracting(VehicleFulfillmentModels.Delivery::customerName).containsExactly("CUSTOMER-B","CUSTOMER-A");
|
||||
|
||||
Reference in New Issue
Block a user