mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[server-ce] test: the first startWith must resetData when using dataDir (#34671)
* [server-ce] test: the first startWith must resetData when using dataDir * [server-ce] test: fix order of creating user and resetting DB GitOrigin-RevId: 2a6e6344919fe48d41704e1a3cb39c6e22b5a924
This commit is contained in:
@@ -256,7 +256,12 @@ describe('filestore migration', function () {
|
||||
})
|
||||
} else {
|
||||
// 5.x
|
||||
startWith({ version: '5.5.5', pro: true, withDataDir: true })
|
||||
startWith({
|
||||
version: '5.5.5',
|
||||
pro: true,
|
||||
withDataDir: true,
|
||||
resetData: true,
|
||||
})
|
||||
defaultImage = 'frog.jpg'
|
||||
ensureUserExists({ email })
|
||||
before(function () {
|
||||
|
||||
@@ -21,8 +21,8 @@ import { beforeWithReRunOnTestRetry } from './helpers/beforeWithReRunOnTestRetry
|
||||
|
||||
describe('Project Sharing', function () {
|
||||
if (isExcludedBySharding('PRO_CUSTOM_4')) return
|
||||
startWith({ withDataDir: true, pro: true, resetData: true })
|
||||
ensureUserExists({ email: 'user@example.com' })
|
||||
startWith({ withDataDir: true, pro: true })
|
||||
|
||||
let projectName: string
|
||||
let recompile: () => void
|
||||
|
||||
Reference in New Issue
Block a user