Mail relay: tests count the account rules' own hooks, reference index, doctor fixture
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
2cceceffd0
commit
ebfedb03d9
+1
-1
@@ -701,7 +701,7 @@ describe('e-mail: transport, the mail service, Graph, the confirm route', () =>
|
||||
|
||||
test('mail-relay-route: trailing slashes or another API route keep the service from confirming the site — unless the relay is off', async () => {
|
||||
expect(await run(null, { 'next.config.ts': 'export default { trailingSlash: true }' })).toEqual(['mail-relay-route:warning'])
|
||||
expect(await run(null, { 'src/payload.config.ts': "buildConfig({ routes: { api: '/cms-api' } })" })).toEqual(['mail-relay-route:warning'])
|
||||
expect(await run(null, { 'src/payload.config.ts': "export default { plugins: [iapl({})], routes: { api: '/cms-api' } }" })).toEqual(['mail-relay-route:warning'])
|
||||
expect(await run(null, { 'next.config.ts': 'export default { trailingSlash: true }', 'src/payload.config.ts': 'iapl({ mail: { relay: false } })' })).toEqual([])
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user