Commit Graph

87 Commits

Author SHA1 Message Date
Adria Navarro c398412e00 Fix pg money 2024-12-17 16:12:16 +01:00
mike12345567 322dc2e5a6 Adding legacy postgres option. 2024-12-10 13:33:38 +00:00
Sam Rose 84927bbb98
Update to latest eslint, including new config file format. 2024-12-05 18:13:32 +00:00
mike12345567 66ade79ff9 Updating rest of test cases. 2024-11-18 17:55:40 +00:00
Sam Rose 6801ade481
Convert rowAction.spec.ts to datasourceDescribe 2024-11-06 16:51:40 +00:00
Sam Rose 6b9b0801a8
Converting tests over to using datasourceDescribe. 2024-11-05 16:24:00 +00:00
Adria Navarro 7235fd9d5c Merge from master 2024-11-04 10:25:38 +01:00
Sam Rose c107ab937d
Remove rawQuery entirely. 2024-06-17 16:15:51 +01:00
Sam Rose 16cacb3de7
Convert mysql.spec.ts away from rawQuery. 2024-06-17 15:48:58 +01:00
Sam Rose 84118f9e8c
Remove makeRequest from mysql.spec.ts 2024-06-17 14:39:45 +01:00
Sam Rose c2320e4f5b
Convert postgres.spec.ts to use Knex instead of rawQuery. 2024-06-14 17:20:08 +01:00
Sam Rose d579972e5f
Slim down postgres.spec.ts, most of its content is tested elsewhere now across all datasources. 2024-06-10 10:59:33 +01:00
mike12345567 7d9e469d8e Merge branch 'fix/BUDI-8258-update-presence' of github.com:Budibase/budibase into fix/BUDI-8258-update-presence 2024-06-07 18:08:28 +01:00
mike12345567 138f1d02b6 Hopefully final fix to test. 2024-06-07 18:02:26 +01:00
Michael Drury dcd5e7934d
Merge branch 'master' into fix/BUDI-8258-update-presence 2024-06-07 18:01:38 +01:00
mike12345567 14266be4e4 Commenting why it does stuff. 2024-06-07 17:26:45 +01:00
mike12345567 5de2dc8382 Some test updates to make the fetchSchema tableFilter prop usable. 2024-06-07 17:13:06 +01:00
mike12345567 9cd7c144f4 Adding test case. 2024-06-07 16:57:46 +01:00
Sam Rose 85c372c4d6
Move some mysql.spec.ts and postgres.spec.ts tests into datasource.spec.ts. 2024-06-07 16:56:07 +01:00
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
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 385197a5f7
Fix postgres.spec.ts 2024-03-27 15:55:22 +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
mike12345567 8103e5291c Fix test. 2024-03-19 15:06:23 +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 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