Skip to content

Commit

Permalink
Update basic-flight-booking-manager.test.ts.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ghareeb-falazi committed Nov 24, 2024
1 parent ae7cc2b commit f8feac8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/basic-flight-booking-manager.test.ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ describe('Basic Flights Manager Basic Tests', () => {
it('queries client balance', async () => {
let man = new BasicFlightBookingManager();
let value = await man.queryClientBalance(context);
expect(value).to.be.equal(0);
expect(value).to.be.equal(2000);
await man.addToClientBalance(context, 1234);
value = await man.queryClientBalance(context);
expect(value).to.be.equal(1234);
expect(value).to.be.equal(3234);
await man.addToClientBalance(context, 16);
value = await man.queryClientBalance(context);
expect(value).to.be.equal(1250);
expect(value).to.be.equal(3250);
});

it('change seats count', async () => {
Expand Down

0 comments on commit f8feac8

Please sign in to comment.