Permalink
Browse files

fix test cc number

  • Loading branch information...
1 parent ed01a83 commit 4d3db09eec91bc39df0cd075e6e565873ee1efd0 @janl janl committed Jul 18, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/customers.js
  2. +1 −1 test/invoices.js
  3. +1 −1 test/tokens.js
View
2 test/customers.js
@@ -34,7 +34,7 @@ vows.describe("Customer API").addBatch({
topic: function(create_err, customer) {
stripe.customers.update(customer.id, {
description: "test",
- card: { number: "4111111111111111",
+ card: { number: "4242424242424242",
exp_month: 12,
exp_year: 2020,
name: "T. Ester"
View
2 test/invoices.js
@@ -39,7 +39,7 @@ vows.describe("Invoice API").addBatch({
stripe.customers.create({
email: "foo@example.com",
plan: plan.id,
- card: { number: "4111111111111111",
+ card: { number: "4242424242424242",
exp_month: d.getMonth() + 1,
exp_year: d.getFullYear() + 1,
name: "T. Ester"
View
2 test/tokens.js
@@ -18,7 +18,7 @@ vows.describe("Tokens API").addBatch({
'Create token' : {
topic: function() {
stripe.token.create({
- card: { number: "4111111111111111",
+ card: { number: "4242424242424242",
exp_month: 1,
exp_year: 2021,
name: "J. Ester"

0 comments on commit 4d3db09

Please sign in to comment.