mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[test] Add db table absence test; Remove useless isServerStartedUp
This commit is contained in:
@ -230,6 +230,11 @@ describe('Base database connector', function () {
|
||||
}
|
||||
});
|
||||
}
|
||||
const table = "unused_table";
|
||||
test(`${table} table absence`, async function () {
|
||||
const result = await baseConnector.getTableColumns(ctx, table);
|
||||
expect(result).toEqual([]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('Changes manipulations', function () {
|
||||
|
||||
Reference in New Issue
Block a user