Skip to content

Commit

Permalink
Added test for Deposit CardInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Silviana Ghita authored and Silviana Ghita committed Dec 21, 2023
1 parent e6475f0 commit 7bd216e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/services/Deposits.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var _ = require('underscore');
var expect = require('chai').expect;
var helpers = require('../helpers');
var api = require('../main');

describe('Deposits', function () {

Expand All @@ -17,6 +18,14 @@ describe('Deposits', function () {
it('should be created', function () {
expect(deposit).not.to.be.undefined;
});

it('check card info', function () {
expect(deposit.CardInfo).not.to.be.undefined;
expect(deposit.CardInfo.Type).not.to.be.undefined;
expect(deposit.CardInfo.Brand).not.to.be.undefined;
expect(deposit.CardInfo.IssuerCountryCode).not.to.be.undefined;
expect(deposit.CardInfo.BIN).not.to.be.undefined;
});
});

describe('Get', function () {
Expand Down

0 comments on commit 7bd216e

Please sign in to comment.