Commit Graph

132 Commits

Author SHA1 Message Date
Mel O'Hagan 415f57e0ef Handle braces within quotes 2022-08-09 17:27:51 +01:00
Mel O'Hagan 55f53de412 Fix unit test 2022-08-09 15:54:08 +01:00
Mel O'Hagan 09a3052aa2 Nested braces parse fix added for MongoDB 2022-08-08 21:56:55 +01:00
Mel O'Hagan fe0163ac29 Bug fix findOneAndUpdate 2022-08-08 17:53:17 +01:00
Mel O'Hagan c289d72816 Add unit tests for ObjectId 2022-08-08 17:01:56 +01:00
mike12345567 d14051bd62 Fixing test cases. 2022-08-03 18:20:07 +01:00
Mel O'Hagan 2356d09022 Has any support SQL Server 2022-07-28 09:20:00 +01:00
Mel O'Hagan 26c8af3c1e SQL Server containsAny unit test 2022-07-27 16:40:07 +01:00
Mel O'Hagan 4abd984d99 Has any of filter Postgres 2022-07-27 16:37:29 +01:00
Mel O'Hagan 17bb56a772 Has any of MySQL filter 2022-07-27 13:19:47 +01:00
Mel O'Hagan 413bd55b94 Not Contains for SQL Server 2022-07-27 11:56:57 +01:00
Mel O'Hagan 69135d34a7 Not Contains Postgres filter 2022-07-27 11:49:45 +01:00
Mel O'Hagan ce9a6a7141 Not Contains filter for MySQL 2022-07-27 11:40:46 +01:00
Mel O'Hagan 47955b9b31 Fix unit tests 2022-07-26 16:58:01 +01:00
Mel O'Hagan 3ba1ce80dd Added unit tests for contains filter 2022-07-21 10:28:54 +01:00
Dean 28f722cf4b Fixes for Rest API request UI. Rest test fixes for XML API request body. Fix for raw XML api request body parsing issue. General fixes for query testing. 2022-06-17 12:00:42 +01:00
Mel O'Hagan 0da9ee0a56 Using mongodb types 2022-05-16 09:50:47 +01:00
Mel O'Hagan 0d3ab9ae33 Fix test for update 2022-05-13 15:57:37 +01:00
Martin McKeaveney 2a7fa4d8f7 merge 2022-04-29 00:05:43 +01:00
Martin McKeaveney 6bc6000a14 remove postgres connection pooling 2022-04-28 23:24:52 +01:00
Martin McKeaveney 97db271fce firebase tests complete 2022-04-28 22:59:25 +01:00
Martin McKeaveney a91cf354b6 renamable buckets, started firebase tests, onboarding modal copy update 2022-04-26 17:12:47 +01:00
Martin McKeaveney 9ca4dacbaa merge with master 2022-04-26 10:21:45 +01:00
Martin McKeaveney 79a8a63ede use ioredis mock for in memory redis tests 2022-04-21 20:24:43 +01:00
mike12345567 345bbf603c Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 2022-04-21 14:56:14 +01:00
Martin McKeaveney 417ba977fa redis integration complete 2022-03-31 15:44:06 +01:00
Andrew Kingston 1c104d6fa5 Add test cases for SQL range filtering changes 2022-03-15 11:52:54 +00:00
Michael Drury 64e65e25ec Updating test case to handle new promise library. 2022-03-03 23:50:46 +00:00
mike12345567 332e5b2672 Adding SQL test case for SQL relationship filtering. 2022-01-17 18:20:37 +00:00
Andrew Kingston bf22c5130f Add tests for REST pagination 2022-01-07 10:49:31 +00:00
mike12345567 1f97ae259e Adding unit tests for REST bodies and response parsing. 2021-12-15 13:09:03 +00:00
mike12345567 5c00960ac0 Fixing issue detected by test case. 2021-12-15 12:23:00 +00:00
Rory Powell 9fa4fe6c76 Merge branch 'feature/rest-redesign' into feature/query-auth 2021-12-11 21:43:03 +00:00
Rory Powell 9a0af5ba0a Add _id field 2021-12-11 10:40:57 +00:00
mike12345567 b48c30a7c0 Updating mocks. 2021-12-09 14:12:01 +00:00
mike12345567 4dd8dbc253 Fixing server rest test case. 2021-12-08 19:38:03 +00:00
Rory Powell 720b828bee Render table of auth configs and linting 2021-12-08 15:27:58 +00:00
Rory Powell a237d31424 Tidy 2021-12-08 10:52:08 +00:00
Rory Powell 9cbe03fd66 Add backend for query / datasource auth 2021-12-07 22:33:26 +00:00
Rory Powell d58b90cac1 Merge branch 'oracle-datasource' into oracle-datatasource-plus 2021-11-22 10:50:34 +00:00
Rory Powell 345490fed3 Tests 2021-11-18 12:05:30 +00:00
Rory Powell 6ac31e0854 Merge pull request #3178 from Budibase/postgres-schema
Postgres: Use another schema other than 'public'
2021-11-10 10:03:25 +00:00
mike12345567 a78230e23b Reworking MS-SQL test case to be able to get the sql now with a request being made for each internal query, rather than just at connection. 2021-11-09 11:16:12 +00:00
mike12345567 b2bf5056b5 Fixing rest test mocking. 2021-11-03 15:45:19 +00:00
Rory Powell 8b8c923541 Update tests 2021-10-27 17:21:29 +01:00
Martin McKeaveney 3b3862bd01 Merge branch 'develop' into fix/postreleasefixes2 2021-10-21 16:00:48 +01:00
Martin McKeaveney d573eb464a upgrade to mysql2 package 2021-10-21 14:47:35 +01:00
mike12345567 a366e8a568 Fixing an issue with mongo test failing in Node 16 due to unhandled promise rejections. 2021-10-14 16:37:11 +01:00
Maurits Lourens dbf747f749 fix tests 2021-10-05 13:38:03 +02:00
mike12345567 5d8f348fc2 Fixing SQL test cases. 2021-09-23 16:56:13 +01:00
Martin McKeaveney b8d10a2b6d merge package updates 2021-08-26 14:13:30 +01:00
Martin McKeaveney e7f8454ad7 make SQL startsWith queries case insensitive 2021-08-20 15:20:52 +01:00
mike12345567 bc84bab52c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-08-06 13:04:54 +01:00
mike12345567 29817892a8 Fixing test cases. 2021-08-06 12:33:04 +01:00
Martin McKeaveney 7ba17204c5 Merge pull request #1963 from faroutchris/feature/query-mongo-collection
Feature/query mongo collection
2021-07-29 10:10:52 +01:00
mike12345567 3eb82b5a63 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
Martin McKeaveney 7e5c4be14f fix postgres query array value 2021-07-13 17:11:11 +01:00
Christo 8579d1872c Test: Add some basic tests for mongodb queries 2021-07-09 20:08:26 +02:00
mike12345567 6648e548c5 Quick fix, make sure auto-columns never sent to DB. 2021-07-06 13:55:05 +01:00
mike12345567 fcf4dbc7a1 Updating server test cases. 2021-07-02 14:49:47 +01:00
mike12345567 96fd8ed947 Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support. 2021-06-25 13:46:02 +01:00
Martin McKeaveney 35942d27b4 fix up datasources and server tests 2021-06-17 15:24:52 +01:00
mike12345567 09bc70cc3d Fixing a bunch of issues around automations. 2021-06-17 14:42:30 +01:00
mike12345567 0a69ea02ee Adding some work towards supporting full data source integration. 2021-06-15 13:03:55 +01:00
mike12345567 2fe6efaed3 Updating test cases. 2021-06-03 18:48:04 +01:00
mike12345567 738b5af4c0 Switching from .toString to .toSQL().toNative() for sql injection protection. 2021-06-03 17:45:19 +01:00
mike12345567 20d7d36a16 Using all lowercase 'query' function name for the builder. 2021-06-03 16:47:31 +01:00
mike12345567 f507daa46a Linking up to existing SQL integrations. 2021-06-03 16:45:43 +01:00
mike12345567 0fba3cc8fd Adding base SQL class which processes defined JSON structure into SQL. 2021-06-03 16:31:24 +01:00
Martin McKeaveney b328875ebd fix tests 2021-05-24 12:14:04 +01:00
mike12345567 b119ae19c6 Fixing broken server test cases. 2021-05-21 16:02:21 +01:00
Martin McKeaveney cd1b35a77a more branch cov 2021-03-16 19:27:18 +00:00
Martin McKeaveney c0e9ee282a mysql tests 2021-03-16 19:01:51 +00:00
Martin McKeaveney 172db5f255 airtable tests 2021-03-16 18:43:56 +00:00
Martin McKeaveney d2699a2755 REST integration tests 2021-03-16 14:51:14 +00:00
Martin McKeaveney a16c05ecb0 arangodb tests 2021-03-16 13:54:39 +00:00
Martin McKeaveney 2150a47af4 elasticsearch tests 2021-03-16 11:46:13 +00:00
Martin McKeaveney d5ae0fa2a9 dynamoDB tests 2021-03-15 19:45:39 +00:00
Martin McKeaveney e7b0564ca3 couchDB tests 2021-03-15 16:26:46 +00:00
Martin McKeaveney de68ba23dd postgres integration tests 2021-03-15 16:07:04 +00:00
Martin McKeaveney c31e04eb73 airtable tests 2021-03-12 09:29:27 +00:00
Martin McKeaveney 31c0905ade merge 2021-03-11 15:28:43 +00:00