Remove some unused fields, fix a broken spec.
This commit is contained in:
parent
16451904c9
commit
f4fa542e86
|
@ -37,7 +37,7 @@ describe("/datasources", () => {
|
|||
.expect(200)
|
||||
|
||||
expect(res.body.datasource.name).toEqual("Test")
|
||||
expect(res.body.errors).toBeUndefined()
|
||||
expect(res.body.errors).toEqual({})
|
||||
expect(events.datasource.created).toBeCalledTimes(1)
|
||||
})
|
||||
})
|
||||
|
|
|
@ -192,8 +192,6 @@ class SqlServerIntegration extends Sql implements DatasourcePlus {
|
|||
private readonly config: MSSQLConfig
|
||||
private index: number = 0
|
||||
private client?: sqlServer.ConnectionPool
|
||||
public tables: Record<string, ExternalTable> = {}
|
||||
public schemaErrors: Record<string, string> = {}
|
||||
|
||||
MASTER_TABLES = [
|
||||
"spt_fallback_db",
|
||||
|
|
|
@ -110,9 +110,6 @@ class OracleIntegration extends Sql implements DatasourcePlus {
|
|||
private readonly config: OracleConfig
|
||||
private index: number = 1
|
||||
|
||||
public tables: Record<string, ExternalTable> = {}
|
||||
public schemaErrors: Record<string, string> = {}
|
||||
|
||||
private readonly COLUMNS_SQL = `
|
||||
SELECT
|
||||
tabs.table_name,
|
||||
|
|
Loading…
Reference in New Issue