1
0
Fork 0
mirror of synced 2024-08-15 18:11:40 +12:00

Don't create the apps on test

This commit is contained in:
Adria Navarro 2023-01-25 10:13:35 +00:00
parent 6259ffad3b
commit 8f186041ac

View file

@ -319,7 +319,11 @@ async function performAppCreate(ctx: BBContext) {
const response = await db.put(newApplication, { force: true })
newApplication._rev = response.rev
/* istanbul ignore next */
await createApp(appId)
if (!env.isTest()) {
await createApp(appId)
}
await cache.app.invalidateAppMetadata(appId, newApplication)
return newApplication