diff options
Diffstat (limited to 'source/app')
| -rw-r--r-- | source/app/Fixtures.mc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/app/Fixtures.mc b/source/app/Fixtures.mc index 114e879..0aa6ea9 100644 --- a/source/app/Fixtures.mc +++ b/source/app/Fixtures.mc @@ -52,6 +52,15 @@ module Fixtures { card.payload = Bytes.fromUtf8("590123412345"); // fake; the check digit 7 is added card.options = Codes.DEFAULT_OPTIONS; vault.add(card); + var qr = new Entry(); + qr.kind = Entry.KIND_CODE; + qr.type = Codes.QR; + qr.name = "Member QR"; + qr.group = "Personal"; + // Fake data; with the digit run in numeric mode it is a version 6 QR. + qr.payload = Bytes.fromUtf8("https://example.com/member/fake-0042?name=Alice%20Example&card=0000111122223333&valid=2027-12-31&level=gold"); + qr.options = Codes.DEFAULT_OPTIONS; + vault.add(qr); vault.lock(); if (TestMode.ON) { startImport(); |
