analytics/test/support
Adrian Gruntkowski 7d6f10f0cb
Ensure team is present before use in sync logic (#4709)
* Ensure team is present before use in sync logic

* Ensure teams backfill works against partially assigned sites

* Associate site with team on creation

* Associate site with team on sync

* Reuse alias

* Add tests for invitation creation sync

* Move team assertions to a helper module

* Format

* Test team creation on site creation via Sites context module

* Add tests for teams sync on subscription changes

* Tag tests

* Test grace period start syncing up with teams

* Test grace period manual lock sycning w/ teams

* Test grace period end sycing up w/ teams

* Test clearing grace period sync with teams

* Update moduledoc

* Fix missing preloads and wrong result pattern matching in sync logic

* Test sync on accepting invites and site transfers

* Test sync on membership role update and member removal

* transfer async fix WIP

* Stop privisioning team in site factory

* Remove unused relationship from Site schema

* Ensure consistent parsing of `passthrough` from Paddle webhook

* Update team passthrough notification tests & logic

---------

Co-authored-by: Adam Rutkowski <hq@mtod.org>
2024-10-23 11:29:15 +00:00
..
teams Ensure team is present before use in sync logic (#4709) 2024-10-23 11:29:15 +00:00
conn_case.ex Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
data_case.ex Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
exchange_rate_mock.ex Revenue tracking: Add currency field to goal creation (#2948) 2023-05-23 12:08:09 +02:00
factory.ex Ensure team is present before use in sync logic (#4709) 2024-10-23 11:29:15 +00:00
google_api_mock.ex Implement search and pagination in Google Keywords modal (#4378) 2024-07-23 11:53:52 +03:00
html.ex Snippet integration verification (#4106) 2024-05-23 15:00:50 +02:00
http_mocker.ex Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
live_view_test_fix.ex update runtime to elixir-1.17.1 and erlang-27.0 (#4255) 2024-06-24 13:22:33 +02:00
paddle_api_mock.ex Unify default pricing currency selection (#4221) 2024-06-14 14:49:22 +02:00
plugins_api_case.ex Merge Plugins.API.Router into main one (#3767) 2024-02-12 10:44:32 +01:00
test_controller.ex Allow configuring AuthorizeSiteAccess plug site param (#4597) 2024-09-26 09:52:45 +00:00
test_utils.ex Drop event explicitly on session lock timeout (#4582) 2024-09-16 10:36:53 +00:00