Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit 77b7c09

Browse files
committed
Chiran:PR review Changes
1 parent 2c83e16 commit 77b7c09

22 files changed

+65
-65
lines changed

cif/cart/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"repository": {
5858
"type": "git",
59-
"url": "https://git.diconium.com/adobe-io/commerce-cif-graphql-integration.git"
59+
"url": "https://github.com/diconium/commerce-cif-graphql-integration-hybris.git"
6060
},
6161
"nyc": {
6262
"include": [

cif/cart/test/resources/hybrisSetPaymentMethodOnCart.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"accountHolderName": "jagadeeshtejaG",
2+
"accountHolderName": "Complete Name",
33
"billingAddress": {
44
"country": {
55
"isocode": "US"
66
},
77
"defaultAddress": false,
8-
"firstName": "jagadeesh",
9-
"id": "8796127723543",
10-
"lastName": "teja",
8+
"firstName": "First Name",
9+
"id": "9999999999",
10+
"lastName": "Last Name",
1111
"line1": "MagentoPkwy",
1212
"line2": "MainStreet",
1313
"postalCode": "78758",

cif/category/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"repository": {
5858
"type": "git",
59-
"url": "https://git.diconium.com/adobe-io/commerce-cif-graphql-integration.git"
59+
"url": "https://github.com/diconium/commerce-cif-graphql-integration-hybris.git"
6060
},
6161
"nyc": {
6262
"include": [

cif/customer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"repository": {
5858
"type": "git",
59-
"url": "https://git.diconium.com/adobe-io/commerce-cif-graphql-integration.git"
59+
"url": "https://github.com/diconium/commerce-cif-graphql-integration-hybris.git"
6060
},
6161
"nyc": {
6262
"include": [

cif/customer/test/integration/changeCustomerPasswordTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('Change Customer Password', function() {
5454

5555
it('Mutation: change customer password response should always contain object', () => {
5656
args.query =
57-
'mutation{changeCustomerPassword(currentPassword: "Embitel@123" newPassword: "Embitel@123"){id email}}';
57+
'mutation{changeCustomerPassword(currentPassword: "Example@123" newPassword: "Example@123"){id email}}';
5858
return resolve(args).then(result => {
5959
assert.isUndefined(result.errors);
6060
assert.equal(changePassword.callCount, 1);

cif/customer/test/integration/createCustomerTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('Create Customer Resolver', function() {
5151
let args = TestUtils.getContextData();
5252
it('Mutation: create customer response should always contain object', () => {
5353
args.query =
54-
'mutation {createCustomer(input: {firstname: "Amaresh1", lastname: "muni", email: "[email protected]", password: "Test@1234", is_subscribed: true}) {customer {firstname,lastname,email,is_subscribed}}}';
54+
'mutation {createCustomer(input: {firstname: "First Name", lastname: "Last Name", email: "[email protected]", password: "Test@1234", is_subscribed: true}) {customer {firstname,lastname,email,is_subscribed}}}';
5555
return resolve(args).then(result => {
5656
assert.isUndefined(result.errors);
5757
let customer = result.data.createCustomer;

cif/customer/test/integration/generateCustomerTokenTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('GenerateCustomerToken', function() {
5151

5252
it('Mutation: Validate generate customer token', () => {
5353
args.query =
54-
'mutation {generateCustomerToken(email: "[email protected]", password: "Embitel@123"){token}}';
54+
'mutation {generateCustomerToken(email: "[email protected]", password: "Example@123"){token}}';
5555
return resolve(args).then(result => {
5656
const { errors } = result;
5757
assert.isUndefined(result.errors);
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"customer": {
3-
"email": "amar@test.com",
4-
"firstname": "Amaresh",
3+
"email": "test@example.com",
4+
"firstname": "First Name",
55
"is_subscribed": true,
6-
"lastname": "muni"
6+
"lastname": "Last Name"
77
}
88
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"type": "userWsDTO",
3-
"name": "Amaresh muni",
4-
"uid": "amar@test.com",
3+
"name": "Complete Name",
4+
"uid": "test@example.com",
55
"currency": {
66
"active": true,
77
"isocode": "USD",
88
"name": "USDollar",
99
"symbol": "$"
1010
},
1111
"customerId": "b19758fa-bada-4f71-a7eb-8fb26d24211d",
12-
"displayUid": "amar@test.com",
13-
"firstName": "Amaresh",
12+
"displayUid": "test@example.com",
13+
"firstName": "First Name",
1414
"language": {
1515
"active": true,
1616
"isocode": "en",
1717
"name": "English",
1818
"nativeName": "English"
1919
},
20-
"lastName": "muni"
20+
"lastName": "Last Name"
2121
}

cif/customer/test/unit/changeCustomerPasswordTest.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ describe('changeCustomerPassword', () => {
6262
scope
6363
.put(`${HB_API_BASE_PATH}electronics/users/current/password`)
6464
.query({
65-
new: 'Embitel@123',
66-
old: 'Embitel@123',
65+
new: 'Example@123',
66+
old: 'Example@123',
6767
})
6868
.reply(202);
6969

7070
args.query =
71-
'mutation{changeCustomerPassword(currentPassword: "Embitel@123" newPassword: "Embitel@123"){id email}}';
71+
'mutation{changeCustomerPassword(currentPassword: "Example@123" newPassword: "Example@123"){id email}}';
7272
return resolve(args).then(result => {
7373
assert.isUndefined(result.errors);
7474
assert.equal(changePassword.callCount, 1);
@@ -79,13 +79,13 @@ describe('changeCustomerPassword', () => {
7979
scope
8080
.put(`${HB_API_BASE_PATH}electronics/users/current/password`)
8181
.query({
82-
new: 'Embitel@123',
82+
new: 'Example@123',
8383
old: '1234567890',
8484
})
8585
.reply(400);
8686

8787
args.query =
88-
'mutation{changeCustomerPassword(currentPassword: "1234567890" newPassword: "Embitel@123"){id email}}';
88+
'mutation{changeCustomerPassword(currentPassword: "1234567890" newPassword: "Example@123"){id email}}';
8989
return resolve(args).then(result => {
9090
const errors = result.errors[0];
9191
expect(errors).shallowDeepEqual({

0 commit comments

Comments
 (0)