1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00
bitwarden-server/test
Alex Morask 06910175e2
[AC-2576] Replace Billing commands and queries with services (#4070)
* Replace SubscriberQueries with SubscriberService

* Replace OrganizationBillingQueries with OrganizationBillingService

* Replace ProviderBillingQueries with ProviderBillingService, move to Commercial

* Replace AssignSeatsToClientOrganizationCommand with ProviderBillingService, move to commercial

* Replace ScaleSeatsCommand with ProviderBillingService and move to Commercial

* Replace CancelSubscriptionCommand with SubscriberService

* Replace CreateCustomerCommand with ProviderBillingService and move to Commercial

* Replace StartSubscriptionCommand with ProviderBillingService and moved to Commercial

* Replaced RemovePaymentMethodCommand with SubscriberService

* Formatting

* Used dotnet format this time

* Changing ProviderBillingService to scoped

* Found circular dependency'

* One more time with feeling

* Formatting

* Fix error in remove org from provider

* Missed test fix in conflit

* [AC-1937] Server: Implement endpoint to retrieve provider payment information (#4107)

* Move the gettax and paymentmethod from stripepayment class

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Add the method to retrieve the tax and payment details

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Add unit tests for the paymentInformation method

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Add the endpoint to retrieve paymentinformation

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Add unit tests to the SubscriberService

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Remove the getTaxInfoAsync update reference

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
Co-authored-by: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com>
2024-05-23 10:17:00 -04:00
..
Admin.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
Api.IntegrationTest [SM-1030] Cleanup old access policy management code (#4015) 2024-05-06 14:56:58 -05:00
Api.Test [AC-2576] Replace Billing commands and queries with services (#4070) 2024-05-23 10:17:00 -04:00
Billing.Test Removed the need to verify requests as CloudOps added an ACL on the network (#3882) 2024-03-11 10:03:10 -04:00
Common Stop using lockfiles (#3550) 2023-12-12 09:09:42 -05:00
Core.Test [AC-2576] Replace Billing commands and queries with services (#4070) 2024-05-23 10:17:00 -04:00
Events.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
EventsProcessor.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
Icons.Test [PM-5052] Upgrade to .NET 8 (#3461) 2024-02-05 13:03:42 -05:00
Identity.IntegrationTest [PM-7335] [deps] Auth: Update Duende.IdentityServer to v7 (#3709) 2024-04-30 09:50:36 -07:00
Identity.Test [PM-3777[PM-3633] Update minimum KDF iterations when creating new User record (#3687) 2024-01-25 10:59:53 -05:00
Infrastructure.EFIntegration.Test [BEEEP] begin 2fa integration tests for identity (#3843) 2024-04-05 09:30:42 -04:00
Infrastructure.IntegrationTest Allow for bulk updating AuthRequest database objects (#4053) 2024-05-22 11:55:31 -05:00
IntegrationTestCommon [BEEEP][SM-893] Add the ability to run SM integration tests as a service account (#3187) 2024-03-29 11:00:30 -05:00
Notifications.Test Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00
bitwarden.tests.sln Include all projects in coverage (#3829) 2024-02-20 17:18:40 +01:00