diff options
Diffstat (limited to 'source/app/Fixtures.mc')
| -rw-r--r-- | source/app/Fixtures.mc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/app/Fixtures.mc b/source/app/Fixtures.mc index 8ed35c9..114e879 100644 --- a/source/app/Fixtures.mc +++ b/source/app/Fixtures.mc @@ -46,10 +46,11 @@ module Fixtures { vault.add(otp("Library", "frank", "Personal", Entry.OTP_TOTP, Hashes.SHA1, 7, 60, rfcKey, false)); var card = new Entry(); card.kind = Entry.KIND_CODE; - card.type = 0; + card.type = Codes.EAN13; card.name = "Gym card"; card.group = "Personal"; - card.payload = Bytes.fromUtf8("0000-1111-2222"); + card.payload = Bytes.fromUtf8("590123412345"); // fake; the check digit 7 is added + card.options = Codes.DEFAULT_OPTIONS; vault.add(card); vault.lock(); if (TestMode.ON) { |
