Don't create the apps on test
This commit is contained in:
parent
6259ffad3b
commit
8f186041ac
|
@ -319,7 +319,11 @@ async function performAppCreate(ctx: BBContext) {
|
||||||
const response = await db.put(newApplication, { force: true })
|
const response = await db.put(newApplication, { force: true })
|
||||||
newApplication._rev = response.rev
|
newApplication._rev = response.rev
|
||||||
|
|
||||||
|
/* istanbul ignore next */
|
||||||
await createApp(appId)
|
await createApp(appId)
|
||||||
|
if (!env.isTest()) {
|
||||||
|
await createApp(appId)
|
||||||
|
}
|
||||||
|
|
||||||
await cache.app.invalidateAppMetadata(appId, newApplication)
|
await cache.app.invalidateAppMetadata(appId, newApplication)
|
||||||
return newApplication
|
return newApplication
|
||||||
|
|
Loading…
Reference in New Issue