Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ describe('NotificationSettingsByType', () => {
'continuous-profiling-billing',
'seer-billing',
'logs-billing',
'prevent-billing',
'seer-user-billing',
],
});
renderComponent({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export function NotificationSettingsByType({notificationType}: Props) {
);

const hasPreventBilling = organizations.some(organization =>
organization.features?.includes('prevent-billing')
organization.features?.includes('seer-user-billing')
);

const excludeTransactions = hasOrgWithAm3 && !hasOrgWithoutAm3;
Expand Down
2 changes: 1 addition & 1 deletion static/gsAdmin/components/changePlanAction.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ describe('ChangePlanAction', () => {
});

it('completes form with addOns', async () => {
mockOrg.features = ['seer-billing', 'prevent-billing'];
mockOrg.features = ['seer-billing', 'seer-user-billing'];
const putMock = MockApiClient.addMockResponse({
url: `/customers/${mockOrg.slug}/subscription/`,
method: 'PUT',
Expand Down
2 changes: 1 addition & 1 deletion static/gsApp/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export const BILLED_DATA_CATEGORY_INFO = {
},
[DataCategoryExact.PREVENT_USER]: {
...DEFAULT_BILLED_DATA_CATEGORY_INFO[DataCategoryExact.PREVENT_USER],
feature: 'prevent-billing',
feature: 'seer-user-billing',
canProductTrial: true,
maxAdminGift: 10_000, // TODO(prevent): Update this to the actual max admin gift
tallyType: 'seat',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ describe('UsageOverview', () => {
});

it('renders table based on add-on state', () => {
organization.features.push('prevent-billing');
organization.features.push('seer-user-billing');
const subWithSeer = SubscriptionWithSeerFixture({organization});
SubscriptionStore.set(organization.slug, subWithSeer);
render(
Expand Down
2 changes: 1 addition & 1 deletion tests/js/getsentry-test/fixtures/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const AM_ADD_ON_CATEGORIES = {
apiName: AddOnCategory.PREVENT,
dataCategories: [DataCategory.PREVENT_USER, DataCategory.PREVENT_REVIEW],
name: 'prevent',
billingFlag: 'prevent-billing',
billingFlag: 'seer-user-billing',
order: 2,
productName: 'prevent',
},
Expand Down
Loading