Peter Clement
9bf37b34ae
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
ab914bcca2
Final fixes after re-running all test suites.
2022-11-28 19:12:23 +00:00
mike12345567
8b2cfd9dfa
Converting further DB layers to TS - fixing mocks.
2022-11-15 18:33:24 +00:00
Rory Powell
6ea7912a73
Merge branch 'feature/posthog-v2' into feature/event-backfill
2022-05-23 10:29:33 +01:00
Rory Powell
8ae358d237
App migrations finished
2022-05-20 12:29:31 +01:00
Rory Powell
606d21b313
Build and test fixes
2022-05-03 22:58:19 +01:00
Rory Powell
bd33c827eb
Merge branch 'develop' into feature/posthog-v2
2022-04-27 16:32:00 +01:00
mike12345567
ea6f580501
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
06d70266cd
View/Table/Row Import/Export events
2022-04-11 22:32:12 +01:00
Rory Powell
2c682d3507
Table CRUD events + add timekeeper for tests
2022-04-11 14:39:31 +01:00
Martin McKeaveney
f83f358514
automation server tests updated
2021-06-17 16:35:58 +01:00
mike12345567
e8c000dd51
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
67f47df718
Reducing the boilerplate needed around setting up a test case.
2021-03-05 12:11:44 +00:00
mike12345567
2a962b1c03
Refactoring table testcases.
2021-03-04 14:36:59 +00:00
mike12345567
d587bad363
Renaming instanceId -> appId to reduce confusion through the system, there only is one ID now.
2020-10-29 10:28:27 +00:00
mike12345567
b9f1babc0e
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
c2d2f9e183
Fixing test cases.
2020-10-28 22:37:58 +00:00
mike12345567
d79be3c854
Initial work into multi-tenancy removal, experiencing issues with test cases at this point.
2020-10-28 20:35:06 +00:00
mike12345567
d90c1e3dd3
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
bb3370e742
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