X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d0ab1d8908cadac9f51a17e2fe9e1193f14e28cc..0e87ae0739ed3e72301b7b718098f97a7f06a5d8:/apps/piston/fixtures/oauth.json?ds=inline diff --git a/apps/piston/fixtures/oauth.json b/apps/piston/fixtures/oauth.json new file mode 100644 index 000000000..1c6b91350 --- /dev/null +++ b/apps/piston/fixtures/oauth.json @@ -0,0 +1,27 @@ +[ + { + "pk": 1, + "model": "piston.consumer", + "fields": { + "status": "accepted", + "name": "Piston Test Consumer", + "secret": "T5XkNMkcjffDpC9mNQJbyQnJXGsenYbz", + "user": 2, + "key": "8aZSFj3W54h8J8sCpx", + "description": "A test consumer record for Piston unit tests." + } + }, + { + "pk": 1, + "model": "piston.token", + "fields": { + "is_approved": true, + "timestamp": 1249347414, + "token_type": 2, + "secret": "qSWZq36t7yvkBquetYBkd8JxnuCu9jKk", + "user": 2, + "key": "Y7358vL5hDBbeP3HHL", + "consumer": 1 + } + } +]