Peter Clement
9d841bc947
Server and Worker tests ( #8928 )
...
* automation unit tests
* row processor tests
* update executeQuery test
* update groups assertion
* some more worker tests
* plugin tests and tidying up
* linting
* temporarily disable group tests
* more tests
* fix import
* fix backup tests
* add pro mocks to worker
* check for app existence in import test
* test new tsconfig
* testing changes
* Pro test utils (#9020 )
* Pro test utils changes
* Add test fixes
* Remove ts-ignore
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-12 22:02:32 +00:00
mike12345567
a02e9017ec
Final fixes after re-running all test suites.
2022-11-28 19:12:23 +00:00
mike12345567
5f658a0398
Converting further DB layers to TS - fixing mocks.
2022-11-15 18:33:24 +00:00
Rory Powell
4841c84861
Merge branch 'feature/posthog-v2' into feature/event-backfill
2022-05-23 10:29:33 +01:00
Rory Powell
756f5b51aa
App migrations finished
2022-05-20 12:29:31 +01:00
Rory Powell
3b9142f103
Build and test fixes
2022-05-03 22:58:19 +01:00
Rory Powell
1caf4b1965
Merge branch 'develop' into feature/posthog-v2
2022-04-27 16:32:00 +01:00
mike12345567
192fb1307e
Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them.
2022-04-19 19:42:52 +01:00
Rory Powell
6db5c62e48
View/Table/Row Import/Export events
2022-04-11 22:32:12 +01:00
Rory Powell
5ab9f1a9c5
Table CRUD events + add timekeeper for tests
2022-04-11 14:39:31 +01:00
Martin McKeaveney
f8fdae0604
automation server tests updated
2021-06-17 16:35:58 +01:00
mike12345567
794372987e
Adding more test cases for the controllers, tables and views weren't as well covered as required.
2021-03-15 16:36:38 +00:00
mike12345567
0878d692c2
Reducing the boilerplate needed around setting up a test case.
2021-03-05 12:11:44 +00:00
mike12345567
01f9981f11
Refactoring table testcases.
2021-03-04 14:36:59 +00:00
mike12345567
5b2be03bc3
Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now.
2020-10-29 10:28:27 +00:00
mike12345567
08b0834fe2
Removing instance API as it was un-used and simplifying the nature of an instance.
2020-10-29 10:21:06 +00:00
Michael Drury
66e3e3b7a4
Fixing test cases.
2020-10-28 22:37:58 +00:00
mike12345567
ea03d099b3
Initial work into multi-tenancy removal, experiencing issues with test cases at this point.
2020-10-28 20:35:06 +00:00
mike12345567
5d49d529e3
Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing.
2020-10-09 19:10:28 +01:00
mike12345567
fdaa69ee7f
Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet.
2020-10-09 18:49:23 +01:00