Skip to content

Commit

Permalink
Added fixture for an order with offer applied and also with product o…
Browse files Browse the repository at this point in the history
…ptions
  • Loading branch information
specialunderwear committed Oct 20, 2023
1 parent 0b21b0c commit 5aefdd3
Show file tree
Hide file tree
Showing 5 changed files with 7,974 additions and 7,549 deletions.
42 changes: 42 additions & 0 deletions oscar_odin/fixtures/oscar_odin/address.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"model": "address.useraddress",
"pk": 1,
"fields": {
"title": "",
"first_name": "Burt",
"last_name": "Brankenbutter",
"line1": "Helmholz road",
"line2": "",
"line3": "",
"line4": "Welsum",
"state": "",
"postcode": "8196KZ",
"country": "NL",
"search_text": "Burt Brankenbutter Helmholz road Welsum 8196KZ Netherlands",
"phone_number": "",
"notes": "",
"user": [
"timsavage"
],
"is_default_for_shipping": true,
"is_default_for_billing": false,
"num_orders_as_shipping_address": 1,
"num_orders_as_billing_address": 0,
"hash": "1458934340",
"date_created": "2023-10-20T12:30:10.931Z"
}
},
{
"model": "address.country",
"pk": "NL",
"fields": {
"iso_3166_1_a3": "NLD",
"iso_3166_1_numeric": "528",
"printable_name": "Netherlands",
"name": "Kingdom of the Netherlands",
"display_order": 0,
"is_shipping_country": true
}
}
]
19 changes: 19 additions & 0 deletions oscar_odin/fixtures/oscar_odin/auth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[
{
"model": "auth.user",
"fields": {
"password": "pbkdf2_sha256$600000$btnNn4cfPYp7pcJqVNGFje$J0EQgQePpkAtxcw66UZ/IrW3RlIvxPKgMaHjK3Q7b2o=",
"last_login": "2023-10-20T12:11:16.336Z",
"is_superuser": true,
"username": "timsavage",
"first_name": "",
"last_name": "",
"email": "[email protected]",
"is_staff": true,
"is_active": true,
"date_joined": "2023-10-20T12:09:27.779Z",
"groups": [],
"user_permissions": []
}
}
]
Loading

0 comments on commit 5aefdd3

Please sign in to comment.