test: align active booking allocation contract
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ class OceanBookingMapperContractTest {
|
|||||||
.contains("GROUP BY allocation.ocean_booking_id,allocation.requirement_id")
|
.contains("GROUP BY allocation.ocean_booking_id,allocation.requirement_id")
|
||||||
.contains("requirement.quantity-COALESCE(allocated.allocated_quantity,0) remaining_quantity")
|
.contains("requirement.quantity-COALESCE(allocated.allocated_quantity,0) remaining_quantity")
|
||||||
.contains("requirement.quantity>COALESCE(allocated.allocated_quantity,0)")
|
.contains("requirement.quantity>COALESCE(allocated.allocated_quantity,0)")
|
||||||
.doesNotContain("fl_container_booking", "SELECT booking.*",
|
.doesNotContain("SELECT booking.*",
|
||||||
"requirement.capacity_cbm=#{query.capacityCbm}",
|
"requirement.capacity_cbm=#{query.capacityCbm}",
|
||||||
"requirement.max_weight_kg=#{query.maxWeightKg}");
|
"requirement.max_weight_kg=#{query.maxWeightKg}");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user