Skip to content

Commit

Permalink
Changed transition status from DE-ACTIVATED to DE_ACTIVATED in the te…
Browse files Browse the repository at this point in the history
…st file
  • Loading branch information
Rrathinasabapath committed Mar 12, 2021
1 parent 834ae7d commit 6f774ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/Hyperwallet.spec.js
Expand Up @@ -2903,13 +2903,13 @@ describe("Hyperwallet", () => {
});

/** @test {Hyperwallet#deactivateBankAccount} */
it("should send transition to 'DE-ACTIVATED'", () => {
it("should send transition to 'DE_ACTIVATED'", () => {
const callback = () => null;
client.deactivateBankAccount("test-user-token", "test-bank-account-token", callback);

apiClientSpy.should.have.been.calledOnce();
apiClientSpy.should.have.been.calledWith("users/test-user-token/bank-accounts/test-bank-account-token/status-transitions", {
transition: "DE-ACTIVATED",
transition: "DE_ACTIVATED",
}, {}, callback);
});
});
Expand Down Expand Up @@ -4477,13 +4477,13 @@ describe("Hyperwallet", () => {
});

/** @test {Hyperwallet#deactivateVenmoAccount} */
it("should send transition to 'DE-ACTIVATED'", () => {
it("should send transition to 'DE_ACTIVATED'", () => {
const callback = () => null;
client.deactivateVenmoAccount("test-user-token", "test-venmo-account-token", callback);

apiClientSpy.should.have.been.calledOnce();
apiClientSpy.should.have.been.calledWith("users/test-user-token/venmo-accounts/test-venmo-account-token/status-transitions", {
transition: "DE-ACTIVATED",
transition: "DE_ACTIVATED",
}, {}, callback);
});
});
Expand Down Expand Up @@ -4827,7 +4827,7 @@ describe("Hyperwallet", () => {
});

/** @test {Hyperwallet#deactivateBusinessStakeholder} */
it("should send transition to 'DE-ACTIVATED'", () => {
it("should send transition to 'DE_ACTIVATED'", () => {
const callback = () => null;
client.deactivateBusinessStakeholder("test-user-token", "test-stakeholder-token", callback);

Expand Down

0 comments on commit 6f774ec

Please sign in to comment.