---
id: TST-COM-ORD-050
title: The provider call of a pricing pass
kind: unit
product_area: commerce
module: orders
revision: 1
status: draft
source_sha:
  services-commerce: c8b66a98e2490617aec38ba5c8165dd9bd0a8f9b
repository: services-commerce
files:
  - modules/checkout/tests/unit/checkout/checkout-part-checks.spec.js
implements: []
environment: mock
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: 'The suite owns its in-memory inputs, scripted responses and rendered component state.'
evidence:
  - provenance: test
    source: 'services-commerce:modules/checkout/tests/unit/checkout/checkout-part-checks.spec.js'
    test_cases:
      - >-
        describes the lines to a provider: item lines not excluded from promotions, with their amounts and
        recipients
      - >-
        asks each provider exactly once for a pass, however many candidates and parts, with the bill-to and
        the mode
      - 'sends a provider only its own parts, with their criteria, and only the lines of its product types'
      - >-
        does not ask about a promotion whose own rules already refuse it, or that is for another business
        unit, or that has no parts
      - freezes the provider’s reason in the answer the library discounts from
      - 'makes only that provider’s parts unavailable: the other provider’s answers stand'
      - >-
        keeps the rest of the preview working: the promotion of the failed area is refused, the other still
        discounts
      - 'answers the preview one warning with the customer sentence, which does not make the preview fail'
      - 'adds no warning merely because a provider is down: no candidate has a part in its area'
      - >-
        refuses the placement 503 promotion_check_unavailable with the same sentence and names the promotions
        for staff
      - asks the provider in placement mode at placement
scenario_coverage: []
dependency_evidence:
  provenance: test
  source: 'services-commerce:modules/checkout/tests/unit/checkout/checkout-part-checks.spec.js'
  declared_by_test: 'the checks, the registry and the library. Doubled: the providers, as counting fakes.'
---

# The provider call of a pricing pass

## Verification Boundary

The unit suite checks the named contract or helper with controlled inputs.

## What This Suite Proves

The registered cases check the provider call of a pricing pass with their fixture records and assertions. Scenario bindings name only the examples those cases exercise.

## What It Does Not Prove

A registered file supplies no run result or verified conformance by itself. Local fixtures do not establish deployed cross-service behavior or complete browser journeys.

## Real Dependencies and Test Doubles

Inputs and external responses are controlled in process; this suite establishes no deployed service behavior.

## Must Not Be Doubled

The named contract validation or component behavior under assertion must use its actual implementation.
