test: point the last two credential stores at the YAML document

The e2e store and the web-search store still named a `.env` path; the
e2e one also wrote dotenv syntax, which the YAML document rejects. That
path now names the ordinary environment layer, so a test pointing the
credential store at it asserts the distinction this PR removes.
This commit is contained in:
Yichen Jiang
2026-08-05 13:23:19 +08:00
parent 69d8621e2e
commit e1d226c4af
2 changed files with 5 additions and 3 deletions

View File

@@ -455,7 +455,7 @@ describe('web-search-deepseek plugin registration', () => {
const ctx = new Context()
try {
await ctx.plugin(WebService, { searchProvider: DEEPSEEK_PROVIDER_ID })
await ctx.plugin(CredentialsLocal, { path: join(dir, '.env'), watch: false })
await ctx.plugin(CredentialsLocal, { path: join(dir, '.credentials.yaml'), watch: false })
await ctx.plugin(deepseekPlugin, { baseURL: 'https://api.deepseek.test/anthropic/v1' })
await expect(ctx.web.search({ query: 'missing' }))