ZIm/crates/collab/src/tests
Marshall Bowers e15d59c445
collab: Add endpoint for initiating a billing subscription (#15452)
This PR adds a new `POST /billing/subscriptions` endpoint that can be
used to initiate a billing subscription.

The endpoint will use the provided `github_user_id` to look up a user,
generate a Stripe Checkout session, and then return the URL.

The caller would then redirect the user to the URL to initiate the
checkout flow.

Here's an example of how to call it:

```sh
curl -X POST "http://localhost:8080/billing/subscriptions" \
     -H "Authorization: <ADMIN_TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{"github_user_id": 12345}'
```

Release Notes:

- N/A
2024-07-29 17:31:36 -04:00
..
channel_buffer_tests.rs Rename RemoteProject -> DevServerProject (#11301) 2024-05-02 11:00:08 -06:00
channel_guest_tests.rs Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
channel_message_tests.rs Fix mention notifications are not updated after message change and not removed after a message is deleted (#9847) 2024-04-02 20:40:00 -06:00
channel_tests.rs Support very large channel membership lists (#11939) 2024-05-16 20:02:25 -06:00
dev_server_tests.rs remoting: Allow Add/Remove remote folder (#14532) 2024-07-16 12:01:59 -06:00
editor_tests.rs Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
following_tests.rs chore: Fix clippy violations from Cargo.toml (#15216) 2024-07-25 20:22:01 +02:00
integration_tests.rs Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
notification_tests.rs channel projects (#8456) 2024-02-26 22:15:11 -07:00
random_channel_buffer_tests.rs channel projects (#8456) 2024-02-26 22:15:11 -07:00
random_project_collaboration_tests.rs Handle buffer diff base updates and file renames properly for SSH projects (#14989) 2024-07-23 11:32:37 -07:00
randomized_test_helpers.rs chore: Fix clippy for upcoming 1.79 Rust release (#12727) 2024-06-06 12:46:53 +02:00
remote_editing_collaboration_tests.rs Add the ability to edit remote directories over SSH (#14530) 2024-07-19 10:27:26 -07:00
test_server.rs collab: Add endpoint for initiating a billing subscription (#15452) 2024-07-29 17:31:36 -04:00