-
-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing structure and adding first test for about developer
- Loading branch information
1 parent
cf74c88
commit e21155b
Showing
4 changed files
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,10 @@ Results: | |
developerEmail: '[email protected]', | ||
developerWebsite: 'http://support.google.com/translate', | ||
developerAddress: '1600 Amphitheatre Parkway, Mountain View 94043', | ||
developerLegalName: undefined, | ||
developerLegalEmail: undefined, | ||
developerLegalAddress: undefined, | ||
developerLegalPhoneNumber: undefined, | ||
privacyPolicy: 'http://www.google.com/policies/privacy/', | ||
developerInternalID: '5700313618786177705', | ||
genre: 'Tools', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,16 @@ describe('App method', () => { | |
}); | ||
}); | ||
|
||
it('should fetch the developer legal address, legal name, email and phone number', () => { | ||
return gplay.app({ appId: 'com.taktak.browser' }) | ||
.then((app) => { | ||
assert.equal(app.developerLegalName, 'AHREFS PTE. LTD.'); | ||
assert.equal(app.developerLegalAddress, '16 Raffles Quay #33-03 Hong Leong Building, Singapore 048581'); | ||
assert.equal(app.developerLegalEmail, '[email protected]'); | ||
assert.equal(app.developerLegalPhoneNumber, '+65 8372 0700'); | ||
}); | ||
}); | ||
|
||
it('should get the developer physical address', () => { | ||
return gplay.app({ appId: 'com.snapchat.android' }) | ||
.then((app) => { | ||
|