chore: unable to boot config and endpoints test suites (#3969)

This commit is contained in:
Jacob Fletcher
2023-11-01 18:02:25 -04:00
committed by GitHub
parent fbc2064a10
commit b2beec302f
9 changed files with 173 additions and 120 deletions

View File

@@ -6,7 +6,6 @@ import shelljs from 'shelljs'
import { v4 as uuid } from 'uuid'
import type { Payload } from '../../packages/payload/src'
import type { CollectionConfig } from '../../packages/payload/src/collections/config/types'
import type { InitOptions } from '../../packages/payload/src/config/types'
import payload from '../../packages/payload/src'
@@ -70,10 +69,3 @@ export async function initPayloadTest(options: Options): Promise<InitializedPayl
return { serverURL: `http://localhost:${port}`, payload }
}
export const openAccess: CollectionConfig['access'] = {
read: () => true,
create: () => true,
delete: () => true,
update: () => true,
}