Skip to content

Commit fda10a8

Browse files
committed
test: fix unit tests
1 parent 802e8e6 commit fda10a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tns-appstore-upload.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ class AppStore {
120120
this.itmsTransporterService.upload = (options: IITMSData) => {
121121
this.itmsTransporterServiceUploadCalls++;
122122
chai.assert.equal(options.ipaFilePath, "/Users/person/git/MyProject/platforms/ios/archive/MyProject.ipa");
123-
chai.assert.equal(options.username, AppStore.itunesconnect.user);
124-
chai.assert.equal(options.password, AppStore.itunesconnect.pass);
123+
chai.assert.equal(options.credentials.username, AppStore.itunesconnect.user);
124+
chai.assert.equal(options.credentials.password, AppStore.itunesconnect.pass);
125125
chai.assert.equal(options.verboseLogging, false);
126126
return Promise.resolve();
127127
};

0 commit comments

Comments
 (0)