---
id: TST-PFM-MTD-062
title: custom object endpoints
kind: integration
product_area: platform
module: metadata
revision: 1
status: draft
source_sha:
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
repository: services-platform
files:
  - modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js
implements: []
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 5
isolation: >-
  Prepared integration database and the suite fixture records; fixture teardown restores or removes its own
  rows.
evidence:
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#resolveEndpoint
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#resolves
    an active object to the shared record table, its id column and the object discriminator
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#refuses
    a draft object, which takes no records
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#refuses
    an archived object
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#resolves
    a draft object for a read, which leaves its records findable and read-only (D3)
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#resolves
    an archived object for a read, and still refuses it for a write
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#refuses
    an unknown object for a read, as an unregistered object
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#refuses
    an object the tenant does not have, as an unregistered object
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#refuses
    another tenant’s object, which the tenant cannot see
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#refuses
    a record the active object does not have, by name
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#accepts
    an unarchived record of the active object
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#refuses
    an archived record of the active object, as one it does not have
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#accepts
    an association type to an active custom object
  - >-
    services-platform:modules/custom-objects/tests/integration/services/persistence/custom-object-endpoints.integration.spec.js#refuses
    an association type to a draft custom object
fixture_imports:
  - '@rhythmsoftware/macroservice-errors/errors'
  - ../../../../../../db/seeds/well-known/well-known-objects
  - '@rhythmsoftware/macroservice-testing/refusals'
  - ../../../../../associations/services/persistence/endpoints
  - ../../../../services/persistence/custom-objects
  - ../../support
test_doubles: []
limitations: []
unmatched_specification: FND-PFM-MTD-083
binding_assertions: []
---

# Custom object endpoints

## Verification Boundary

This integration suite checks custom objects and records within the local test harness. The registered file and pinned revision define its boundary.

## What This Suite Proves

The suite contains executable checks for this module, but no matching detailed scenario is established in this back-fill. The executable coverage finding records that mapping gap. Assertions are evidence of implemented checks; no execution result is claimed.

## What It Does Not Prove

The register does not establish a current passing run or full specification conformance. Behavior outside the suite’s fixtures and assertions remains unverified.

## Real Dependencies and Test Doubles

The fixture uses PostgreSQL and the imported persistence or API code. The fixture imports identify the setup seams; this register makes no broader claim that dependencies are undoubled.

## Must Not Be Doubled

The operation under examination and its asserted stored outcomes must remain real within the declared harness. A fixture cannot replace the write, refusal or transactional effect that the bound scenario checks.
