---
id: TST-PFM-INT-523
title: transition
kind: integration
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/integration/services/connections/transition.integration.spec.js
implements:
  - ATS-PFM-INT-004-04
  - ATS-PFM-INT-004-09
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 5
isolation: >-
  Use the suite-owned database fixtures and its declared cleanup; prepare the test database before
  integration or lifecycle execution.
evidence:
  - >-
    services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js
test_cases:
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      pending_auth to verifying
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      verifying to active
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      verifying to failed_verification
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      failed_verification to verifying
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      active to degraded
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      degraded to active
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      active and degraded to reauth_required
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      reauth_required to verifying
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      active and degraded to suspended
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      suspended to active
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      active, degraded, suspended, reauth_required and failed_verification to disconnected
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#moves
      pending_auth, verifying and failed_verification to disconnected
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      every other state and leaves the connection as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#writes
      an integration audit row named for the transition
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#writes
      a security audit row of the connection, before and after
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#tells
      the binding hook the states before and after
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#tells
      the tenant’s administrators, after the move
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      while an active binding chooses the connection, and leaves it as it was
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#stays
      refused with the bindings named, whatever the caller adds to the input
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#disconnects
      a degraded connection
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#asks
      the credential hook to destroy the credential
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#disables
      the connection’s webhook endpoints
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#records
      who disconnected it and why
    provenance: test
  - source: >-
      services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js#refuses
      a connection in another tenant as not found
    provenance: test
dependency_evidence:
  provenance: test
  source: >-
    services-platform:modules/integrations/tests/integration/services/connections/transition.integration.spec.js
  reviewed:
    - Suite introduction
    - Fixture setup
    - Client substitutions
    - Assertions and cleanup
---
# transition

## Verification Boundary

This database and service suite exercises transition. 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

In-process execution does not establish deployed infrastructure or a real provider response. Several bindings can supply different parts of a detailed scenario; no single-file completeness is implied.

## Real Dependencies and Test Doubles

The suite definition identifies its database fixtures and replaced clients, hooks, clocks or executors. Integration runs use the prepared database; lifecycle runs exercise the in-process route or adapter path.

## Must Not Be Doubled

The database constraints, transactions and service behavior claimed by an integration binding must execute. Replaced external seams cannot establish live provider or infrastructure behavior.
