fix: proxy MCP and expose EKAP verification gates
This commit is contained in:
@@ -22,3 +22,10 @@ test('ordinary upstream failures stay retryable', () => {
|
||||
retryable: true,
|
||||
});
|
||||
});
|
||||
|
||||
test('KIK HTTP 428 is also exposed as the same manual verification gate', () => {
|
||||
const result = sourceFailure(new Error('KİK sunucusu isteği reddetti (HTTP 428).'));
|
||||
assert.equal(result.status, 428);
|
||||
assert.equal(result.body.code, 'HUMAN_VERIFICATION_REQUIRED');
|
||||
assert.equal(result.body.manualAction, true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user