mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) add tests for site deletion
Summary: This tests site deletion with and without a plan. Test Plan: adding tests Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D3017
This commit is contained in:
@@ -264,6 +264,11 @@ export class FlexServer implements GristServer {
|
||||
return this._dbManager;
|
||||
}
|
||||
|
||||
public getStorageManager(): IDocStorageManager {
|
||||
if (!this._storageManager) { throw new Error('no storage manager available'); }
|
||||
return this._storageManager;
|
||||
}
|
||||
|
||||
public addLogging() {
|
||||
if (this._check('logging')) { return; }
|
||||
if (process.env.GRIST_LOG_SKIP_HTTP) { return; }
|
||||
|
||||
@@ -6,6 +6,7 @@ import { HomeDBManager } from 'app/gen-server/lib/HomeDBManager';
|
||||
import * as Comm from 'app/server/lib/Comm';
|
||||
import { Hosts } from 'app/server/lib/extractOrg';
|
||||
import { ICreate } from 'app/server/lib/ICreate';
|
||||
import { IDocStorageManager } from 'app/server/lib/IDocStorageManager';
|
||||
import { IPermitStore } from 'app/server/lib/Permit';
|
||||
import { Sessions } from 'app/server/lib/Sessions';
|
||||
import * as express from 'express';
|
||||
@@ -29,6 +30,7 @@ export interface GristServer {
|
||||
getComm(): Comm;
|
||||
getHosts(): Hosts;
|
||||
getHomeDBManager(): HomeDBManager;
|
||||
getStorageManager(): IDocStorageManager;
|
||||
}
|
||||
|
||||
export interface GristLoginMiddleware {
|
||||
|
||||
Reference in New Issue
Block a user