fix(deploy): match registered host intent
This commit is contained in:
parent
eebfc790fe
commit
ed7ba130c8
3 changed files with 9 additions and 3 deletions
|
|
@ -236,6 +236,10 @@ test("host navigator compiles local keychain publication without granting author
|
|||
assert.equal(compiled.body.target.id, "REPO-012");
|
||||
assert.equal(compiled.body.intent.transport, "LOCAL_GIT_OSXKEYCHAIN");
|
||||
assert.equal(compiled.body.authority, "NONE_NAVIGATION_ONLY");
|
||||
const acceptanceQuery = compileHostNavigation(loadHostSkills(), loadLighthousePaths(), "codex", "git-push");
|
||||
assert.equal(acceptanceQuery.status, 200);
|
||||
assert.equal(acceptanceQuery.body.status, "COMPILED_EXACT_NO_GUESS");
|
||||
assert.equal(acceptanceQuery.body.intent.id, "INTENT-REPOSITORY-PUBLISH-001");
|
||||
assert.equal(compileHostNavigation(loadHostSkills(), loadLighthousePaths(), "unknown", "推一下线上仓库").status, 404);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue