Don't create the apps on test
This commit is contained in:
parent
6259ffad3b
commit
8f186041ac
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue