Bug 1471757 - Use 'valid' credit card numbers in tps tests. r?tcsc draft
authorEdouard Oger <eoger@fastmail.com>
Wed, 27 Jun 2018 19:14:43 -0400
changeset 811635 7ec79301f729e66c78d63a57c7357d646513c0be
parent 810379 6e8e861540e6d8c85c73ab7b2afa1f027fb3750c
push id114378
push userbmo:eoger@fastmail.com
push dateWed, 27 Jun 2018 23:15:46 +0000
reviewerstcsc
bugs1471757
milestone63.0a1
Bug 1471757 - Use 'valid' credit card numbers in tps tests. r?tcsc MozReview-Commit-ID: 668ycAESHtE
services/sync/tests/tps/test_creditcards.js
--- a/services/sync/tests/tps/test_creditcards.js
+++ b/services/sync/tests/tps/test_creditcards.js
@@ -9,36 +9,36 @@ EnableEngines(["creditcards"]);
 var phases = {
   "phase1": "profile1",
   "phase2": "profile2",
   "phase3": "profile1"
 };
 
 const cc1 = [{
   "cc-name": "John Doe",
-  "cc-number": "1234567812345678",
+  "cc-number": "4716179744040592",
   "cc-exp-month": 4,
-  "cc-exp-year": 2017,
+  "cc-exp-year": 2050,
   "changes": {
-    "cc-exp-year": 2018
+    "cc-exp-year": 2051
   }
 }];
 
 const cc1_after = [{
   "cc-name": "John Doe",
-  "cc-number": "1234567812345678",
+  "cc-number": "4716179744040592",
   "cc-exp-month": 4,
-  "cc-exp-year": 2018,
+  "cc-exp-year": 2051,
 }];
 
 const cc2 = [{
   "cc-name": "Timothy Berners-Lee",
-  "cc-number": "1111222233334444",
+  "cc-number": "2221000374457678",
   "cc-exp-month": 12,
-  "cc-exp-year": 2022,
+  "cc-exp-year": 2050,
 }];
 
 Phase("phase1", [
   [CreditCards.add, cc1],
   [Sync]
 ]);
 
 Phase("phase2", [