1
0
Fork 0
mirror of synced 2024-09-21 20:01:32 +12:00
Commit graph

116 commits

Author SHA1 Message Date
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
f76eb1b220 Merge branch 'master' of github.com:Budibase/budibase into fix/BUDI-8258-update-presence 2024-06-07 17:24:40 +01:00
mike12345567
5de2dc8382 Some test updates to make the fetchSchema tableFilter prop usable. 2024-06-07 17:13:06 +01:00
Sam Rose
d2c273542d
Fix tests. 2024-06-07 17:02:23 +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
Sam Rose
f2e3789ad2
Rename rename test from mysql.spec.ts, it's covered in table.spec.ts 2024-06-07 14:24:39 +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
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