0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed typo complementary -> complimentary

This commit is contained in:
Naz 2022-09-02 16:12:44 +08:00
parent ca8bfc397c
commit a0d0c38aaf
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View file

@ -1687,7 +1687,7 @@ Object {
}
`;
exports[`Members API Can create a new member with a product (complementary) 1: [body] 1`] = `
exports[`Members API Can create a new member with a product (complimentary) 1: [body] 1`] = `
Object {
"members": Array [
Object {
@ -1761,7 +1761,7 @@ Object {
}
`;
exports[`Members API Can create a new member with a product (complementary) 2: [headers] 1`] = `
exports[`Members API Can create a new member with a product (complimentary) 2: [headers] 1`] = `
Object {
"access-control-allow-origin": "http://127.0.0.1:2369",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",

View file

@ -1018,7 +1018,7 @@ describe('Members API', function () {
});
});
it('Can create a new member with a product (complementary)', async function () {
it('Can create a new member with a product (complimentary)', async function () {
const product = await getPaidProduct();
const initialMember = {
name: 'Name',

View file

@ -44,8 +44,8 @@ async function assertSubscription(subscriptionId, asserts) {
}
describe('Members API', function () {
// @todo: Test what happens when a complementary subscription ends (should create comped -> free event)
// @todo: Test what happens when a complementary subscription starts a paid subscription
// @todo: Test what happens when a complimentary subscription ends (should create comped -> free event)
// @todo: Test what happens when a complimentary subscription starts a paid subscription
// We create some shared stripe resources, so we don't have to have nocks in every test case
const subscription = {};
@ -477,7 +477,7 @@ describe('Members API', function () {
set(customer, {
id: customer_id,
name: 'Test Member',
email: 'cancel-complementary-test@email.com',
email: 'cancel-complimentary-test@email.com',
subscriptions: {
type: 'list',
data: [subscription]