Skip to content

Commit

Permalink
Test: fixed methods.list option test
Browse files Browse the repository at this point in the history
  • Loading branch information
fvdm committed Oct 1, 2015
1 parent 73a68b5 commit a3d484e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ queue.push (function () {

queue.push (function () {
mollie.methods.list (function (err, data) {
doTest (err, 'methods.list', [
doTest (err, 'methods.list normal', [
['type', data instanceof Object],
['data', data && data.data instanceof Array],
['item', data && data.data && data.data [0] instanceof Object]
Expand All @@ -223,8 +223,8 @@ queue.push (function () {


queue.push (function () {
mollie.methods.list (function (err, data) {
doTest (err, 'methods.list', [
mollie.methods.list ({ offset: 0, count: 10 }, function (err, data) {
doTest (err, 'methods.list option', [
['type', data instanceof Object],
['data', data && data.data instanceof Array],
['item', data && data.data && data.data [0] instanceof Object]
Expand Down

0 comments on commit a3d484e

Please sign in to comment.