diff --git a/packages/server/src/api/routes/tests/datasource.spec.ts b/packages/server/src/api/routes/tests/datasource.spec.ts index 5019073db4..3c1d7839e8 100644 --- a/packages/server/src/api/routes/tests/datasource.spec.ts +++ b/packages/server/src/api/routes/tests/datasource.spec.ts @@ -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) }) }) diff --git a/packages/server/src/integrations/microsoftSqlServer.ts b/packages/server/src/integrations/microsoftSqlServer.ts index 113c1da878..06ffaf955d 100644 --- a/packages/server/src/integrations/microsoftSqlServer.ts +++ b/packages/server/src/integrations/microsoftSqlServer.ts @@ -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 = {} - public schemaErrors: Record = {} MASTER_TABLES = [ "spt_fallback_db", diff --git a/packages/server/src/integrations/oracle.ts b/packages/server/src/integrations/oracle.ts index 97d0318954..28d8fdd84d 100644 --- a/packages/server/src/integrations/oracle.ts +++ b/packages/server/src/integrations/oracle.ts @@ -110,9 +110,6 @@ class OracleIntegration extends Sql implements DatasourcePlus { private readonly config: OracleConfig private index: number = 1 - public tables: Record = {} - public schemaErrors: Record = {} - private readonly COLUMNS_SQL = ` SELECT tabs.table_name,