# X_TEST_SCHEMA_EXPECTED

## Means

a matcher expected a Standard Schema and got something else

## Typical cause

`toRejectInput`/`toAcceptInput` called on an action instead of `action.input`

## Fix

`call toRejectInput(action.input)` — the schema, not the action or the query

[Testing](/error-codes#testing)
