---
id: TST-PFM-INT-571
title: binding migration rules
kind: unit
product_area: platform
module: integrations
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
  macroservice-libraries: 54536a441935c6e09fdb7f96f0bec71c52ba4e03
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
repository: services-platform
files:
  - modules/integrations/tests/unit/services/binding-migration-rules.spec.ts
implements:
  - ATS-PFM-INT-007-03
environment: mock
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: Pure test fixtures owned by the test process.
evidence:
  - 'services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts'
test_cases:
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#names
      the six refusals a migration answers
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#accepts
      a scope the second major allows
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a scope kind the second major does not allow as scope_not_allowed
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a scope reference the kind does not name as scope_not_allowed
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a feature the second major does not define as feature_undefined
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a scope before a feature when both are wrong
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a capability the contracts do not define at that major, as a request error rather than a binding’s
      refusal
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#gives a
      sensitive capability the refusing default
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#accepts
      an eligible connection that implements the major with its features verified
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#accepts
      a degraded connection
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a connection the tenant does not have as connection_ineligible
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a suspended connection as connection_ineligible, before its pin or features
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a pin that does not implement the major as major_unsupported, before the features
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      a feature not verified on the connection as feature_unverified
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#refuses
      every feature when the major is not supported by the account
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts#names
      the unverified features in its error, never a value
    provenance: test
dependency_evidence:
  provenance: test
  source: 'services-platform:modules/integrations/tests/unit/services/binding-migration-rules.spec.ts'
  reviewed:
    - Suite introduction
    - Fixture setup
    - Client substitutions
    - Assertions and cleanup
---
# binding migration rules

## Verification Boundary

This unit suite exercises binding migration rules. Its registration records the executable definition; no run result is asserted.

## What This Suite Proves

The bindings identify the detailed outcomes asserted by this suite. Test-level evidence retains the individual checks, including cases where several suites contribute to one scenario.

## What It Does Not Prove

Pure cases do not establish database constraints, deployed authorization or provider effects.

## Real Dependencies and Test Doubles

The suite evaluates its imported functions with controlled inputs. Its source records the fixture and substitution boundary.

## Must Not Be Doubled

The function under test and its result checks must execute. Replacing them with expected answers provides no proof.
