1
0
Fork 0
mirror of synced 2024-09-21 11:53:49 +12:00
Commit graph

101 commits

Author SHA1 Message Date
Conor Webb
7d256d235a
Enum columns unexpectedly breaking fix (#13756)
* Added enum to SQL_MISC_TYPE_MAP to correctly map to FieldType.OPTIONS

* improve enum values extraction for multiple single-select support

* Tests to ensure enums are typed correctly MySQL and Postgres

* Fixed linting issue

* Ran prettier
2024-05-23 14:31:11 +00:00
mike12345567
e928ff2ea2 Adding test case to confirm it works. 2024-05-09 15:26:53 +01:00
Adria Navarro
5e094dd3bc Lint 2024-04-17 20:06:54 +02:00
Adria Navarro
17c6b4ab68 Remove skipped test 2024-04-17 19:51:43 +02:00
Adria Navarro
de47f44959 Remove _add references 2024-04-17 12:12:41 +02:00
Adria Navarro
764235469c Lint 2024-04-17 12:12:09 +02:00
Adria Navarro
a6132c2804 Lint 2024-04-17 12:12:09 +02:00
Adria Navarro
92c307105c Skip test 2024-04-17 12:12:09 +02:00
mike12345567
191c52a9b9 Fixing test case. 2024-04-05 17:49:39 +01:00
Sam Rose
b2ef045ecf
Merge master. 2024-04-03 15:17:38 +01:00
Sam Rose
1205cfcbcc
Fix mysql.spec.ts 2024-03-27 16:31:31 +00:00
Sam Rose
385197a5f7
Fix postgres.spec.ts 2024-03-27 15:55:22 +00:00
Sam Rose
831c174362
Give SQL integrations their own database when fetching a new datasource. 2024-03-27 15:25:37 +00:00
Sam Rose
2304aeaa71
Migrate mysql.spec.ts to new datasource providers. 2024-03-26 14:36:18 +00:00
Sam Rose
158964c4d2
Got container reuse strategy in place, need to convert tests now. 2024-03-26 11:22:40 +00:00
Sam Rose
a9aa409d7c
Fix up tests. 2024-03-22 15:01:40 +00:00
Sam Rose
a81a1b13ce
Remove mysql mocks. 2024-03-20 16:55:34 +00:00
Sam Rose
217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Michael Drury
7f509f0b66
Merge branch 'master' into fix/13282 2024-03-19 16:09:44 +00:00
mike12345567
e0805f7056 fix for mysql test as well. 2024-03-19 15:17:13 +00:00
mike12345567
8103e5291c Fix test. 2024-03-19 15:06:23 +00:00
Sam Rose
1f63f0bddf
Run auto fix. 2024-03-19 09:46:10 +00:00
melohagan
ee0f0abad2
Fix/rename mysql column (#13186)
* Rebuild table schema when adding new column to get externalType

* Added MySQL integration test suite

* Add test for emitting datasource on save new column

* Update packages/server/src/integration-test/mysql.spec.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* remove duplicate tests

* Use UUID

* update account portal

* Remove _add for internal save

* Internal DB add column unit test

* rename column test

* update modules

* fix tests

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-04 15:55:45 +00:00
Sam Rose
5d42804020
Migrate some of RowAPI, WIP 2024-03-01 15:20:07 +00:00
Sam Rose
1a2a77fc91
Migrate LegacyViewAPI 2024-02-29 15:59:03 +00:00
Sam Rose
4fbe03bbda
Migrate DatasourceAPI. 2024-02-29 15:50:18 +00:00
Sam Rose
871e1f3806
Remove empty file. 2024-02-05 11:54:33 +00:00
Sam Rose
7cceb04ca2
Basic Postgres and Mongo query testcases. 2024-02-05 11:43:40 +00:00
rg2011
f73f8f4433 Add support for full search path to postgres integration 2024-01-05 17:46:44 +01:00
mike12345567
02fefa5529 Fixes for postgres test case, there was an issue with creating tables with relationships during the creation phase. 2023-11-30 15:09:01 +00:00
mike12345567
fdae7ab913 Fixing issues discovered by tests. 2023-11-07 13:37:45 +00:00
mike12345567
ed0670a008 Major update to make the table.type always 'table' and then adding a new sourceType which states what source the table came from, external or internal. Don't want to keep using a type that should be static as two different things. 2023-10-26 13:19:09 +01:00
Sam Rose
0b8c829ed1 Clean up correctly after Postgres integration tests. 2023-10-13 15:59:07 +01:00
Sam Rose
e1af1a5be3 Introduce integration tests for POST /api/datasources/:datasourceId/schema 2023-10-13 15:29:59 +01:00
Sam Rose
18363b7b60 Make sure to stop postgres container after the postgres integration tests have run. 2023-10-13 09:50:45 +01:00
Adria Navarro
1f1ebc82e5 Fix more types 2023-10-10 18:54:57 +02:00
Adria Navarro
c530d5fa34 Timeout issues 2023-09-13 13:17:51 +02:00
Adria Navarro
dc5cd7cf76 Fix 2023-09-13 12:53:47 +02:00
Adria Navarro
823afa1f55 Run all tests 2023-09-13 11:59:34 +02:00
Adria Navarro
c7e41eacc7 Cleanup test 2023-09-13 11:00:53 +02:00
Adria Navarro
47899c669d Use api 2023-09-13 10:39:22 +02:00
Adria Navarro
458de1282e Use api for testing 2023-09-12 20:17:21 +02:00
Adria Navarro
887ebb2eeb Simplify 2023-09-05 11:16:37 +02:00
Adria Navarro
6240740a42 Simplify 2023-09-05 11:11:47 +02:00
Adria Navarro
b27899b1e6 Redo helpers 2023-09-05 10:47:59 +02:00
Adria Navarro
57801b5bcc Use docker utils helpers 2023-09-04 19:05:18 +02:00
mike12345567
1a06fc0417 Removing Postgres test update, didn't help. 2023-08-23 18:14:01 +01:00
mike12345567
67104d7cb3 Quick hacks to try and help with the stability of some failing tests. 2023-08-23 18:05:58 +01:00
mike12345567
6731eefefd Adding wait strategy to Postgres runner. 2023-08-23 17:42:01 +01:00
mike12345567
7673673db2 Updating RelationshipTypes -> RelationshipType. 2023-07-21 12:57:47 +01:00