mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
v3 payments: fix urls in tests
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments : amazon #subscribeCancel', () => {
|
describe('payments : amazon #subscribeCancel', () => {
|
||||||
let endpoint = '/payments/amazon/subscribe/cancel';
|
let endpoint = '/amazon/subscribe/cancel';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments : paypal #checkout', () => {
|
describe('payments : paypal #checkout', () => {
|
||||||
let endpoint = '/payments/paypal/checkout';
|
let endpoint = '/paypal/checkout';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments : paypal #checkoutSuccess', () => {
|
describe('payments : paypal #checkoutSuccess', () => {
|
||||||
let endpoint = '/payments/paypal/checkout/success';
|
let endpoint = '/paypal/checkout/success';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments : paypal #subscribe', () => {
|
describe('payments : paypal #subscribe', () => {
|
||||||
let endpoint = '/payments/paypal/subscribe';
|
let endpoint = '/paypal/subscribe';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments : paypal #subscribeCancel', () => {
|
describe('payments : paypal #subscribeCancel', () => {
|
||||||
let endpoint = '/payments/paypal/subscribe/cancel';
|
let endpoint = '/paypal/subscribe/cancel';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments : paypal #subscribeSuccess', () => {
|
describe('payments : paypal #subscribeSuccess', () => {
|
||||||
let endpoint = '/payments/paypal/subscribe/success';
|
let endpoint = '/paypal/subscribe/success';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments - stripe - #subscribeCancel', () => {
|
describe('payments - stripe - #subscribeCancel', () => {
|
||||||
let endpoint = '/payments/stripe/subscribe/cancel';
|
let endpoint = '/stripe/subscribe/cancel';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments - amazon - #checkout', () => {
|
describe('payments - amazon - #checkout', () => {
|
||||||
let endpoint = '/payments/amazon/checkout';
|
let endpoint = '/amazon/checkout';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments - amazon - #createOrderReferenceId', () => {
|
describe('payments - amazon - #createOrderReferenceId', () => {
|
||||||
let endpoint = '/payments/amazon/createOrderReferenceId';
|
let endpoint = '/amazon/createOrderReferenceId';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments - amazon - #subscribe', () => {
|
describe('payments - amazon - #subscribe', () => {
|
||||||
let endpoint = '/payments/amazon/subscribe';
|
let endpoint = '/amazon/subscribe';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments : amazon', () => {
|
describe('payments : amazon', () => {
|
||||||
let endpoint = '/payments/amazon/verifyAccessToken';
|
let endpoint = '/amazon/verifyAccessToken';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments - paypal - #ipn', () => {
|
describe('payments - paypal - #ipn', () => {
|
||||||
let endpoint = '/payments/paypal/ipn';
|
let endpoint = '/paypal/ipn';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments - stripe - #checkout', () => {
|
describe('payments - stripe - #checkout', () => {
|
||||||
let endpoint = '/payments/stripe/checkout';
|
let endpoint = '/stripe/checkout';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
} from '../../../../helpers/api-integration/v3';
|
} from '../../../../helpers/api-integration/v3';
|
||||||
|
|
||||||
describe('payments - stripe - #subscribeEdit', () => {
|
describe('payments - stripe - #subscribeEdit', () => {
|
||||||
let endpoint = '/payments/stripe/subscribe/edit';
|
let endpoint = '/stripe/subscribe/edit';
|
||||||
let user;
|
let user;
|
||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user