0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/api/test
Michael Matloka 5d5ede19e4
Fix REST hook firing (#2894)
* Fix REST hooks being only fired if project has webhook

* Fix firing more

* Actually still filter but also for Zapier

* Don't .only() Team in EE process_event to optimize REST hook firing

* Fix REST hook duplication in EE

* Update test_process_event.py

* Debug

* Revert "Debug"

This reverts commit 6d4c9f754d.

* Fix organization-less teams partly

* Fix more organization-less teams

* Fix moar organization-less teams

* Explicitly bootstrap org without user in tests

* Fix org bootstrap

* Fix typing

* Fix bootstrap usage

* Update test_process_event.py

* Fix num queries

* Add test_action_on_perform_hook_fired_once

* Fix Action.objects.create call

* Don't test hook firing as it's offloaded to worker
2021-01-12 13:09:27 +01:00
..
__init__.py Personal API keys and Zapier integration (#1281) 2020-08-26 10:34:57 +02:00
base.py Make Google login an Enterprise/Cloud feature (#2501) 2020-12-04 19:54:27 +01:00
test_hooks.py Fix REST hook firing (#2894) 2021-01-12 13:09:27 +01:00
test_organization.py Fix REST hook firing (#2894) 2021-01-12 13:09:27 +01:00
test_team.py Fix REST hook firing (#2894) 2021-01-12 13:09:27 +01:00