diff --git a/src/purchase/fixtures/payment_methods.json b/src/purchase/fixtures/payment_methods.json new file mode 100644 index 0000000..85cff9d --- /dev/null +++ b/src/purchase/fixtures/payment_methods.json @@ -0,0 +1,26 @@ +[ + { + "model": "purchase.paymentmethod", + "fields": { + "created_at": "2022-04-26T20:30:22.960Z", + "updated_at": "2022-04-26T20:30:22.960Z", + "name": "Esp\u00e8ces" + } + }, + { + "model": "purchase.paymentmethod", + "fields": { + "created_at": "2022-04-26T20:30:22.960Z", + "updated_at": "2022-04-26T20:30:22.960Z", + "name": "CB" + } + }, + { + "model": "purchase.paymentmethod", + "fields": { + "created_at": "2022-04-26T20:30:22.960Z", + "updated_at": "2022-04-26T20:30:22.960Z", + "name": "Ch\u00e8que" + } + } +] diff --git a/src/purchase/fixtures/payment_methods.yaml b/src/purchase/fixtures/payment_methods.yaml deleted file mode 100644 index 4876d7a..0000000 --- a/src/purchase/fixtures/payment_methods.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- model: purchase.paymentmethod - fields: - created_at: 2022-04-26 20:30:22.960932+00:00 - updated_at: 2022-04-26 20:30:22.960941+00:00 - name: Espèces -- model: purchase.paymentmethod - fields: - created_at: 2022-04-26 20:30:22.960948+00:00 - updated_at: 2022-04-26 20:30:22.960952+00:00 - name: CB -- model: purchase.paymentmethod - fields: - created_at: 2022-04-26 20:30:22.960958+00:00 - updated_at: 2022-04-26 20:30:22.960962+00:00 - name: Chèque diff --git a/src/purchase/fixtures/products.json b/src/purchase/fixtures/products.json new file mode 100644 index 0000000..8d9c08a --- /dev/null +++ b/src/purchase/fixtures/products.json @@ -0,0 +1,46 @@ +[ + { + "model": "purchase.product", + "fields": { + "created_at": "2022-04-26T20:30:22.959Z", + "updated_at": "2022-04-26T20:30:22.959Z", + "name": "Clou", + "image": "", + "unit_price_cents": 134, + "display_order": 1 + } + }, + { + "model": "purchase.product", + "fields": { + "created_at": "2022-04-26T20:30:22.959Z", + "updated_at": "2022-04-26T20:30:22.959Z", + "name": "Villard'Ain", + "image": "", + "unit_price_cents": 290, + "display_order": 1 + } + }, + { + "model": "purchase.product", + "fields": { + "created_at": "2022-04-26T20:30:22.959Z", + "updated_at": "2022-04-26T20:30:22.959Z", + "name": "Herbier", + "image": "", + "unit_price_cents": 330, + "display_order": 1 + } + }, + { + "model": "purchase.product", + "fields": { + "created_at": "2022-04-26T20:30:22.959Z", + "updated_at": "2022-04-26T20:30:22.959Z", + "name": "Blanc vache", + "image": "", + "unit_price_cents": 650, + "display_order": 1 + } + } +] diff --git a/src/purchase/fixtures/products.yaml b/src/purchase/fixtures/products.yaml deleted file mode 100644 index 13068be..0000000 --- a/src/purchase/fixtures/products.yaml +++ /dev/null @@ -1,32 +0,0 @@ -- model: purchase.product - fields: - created_at: 2022-04-26 20:30:22.959558+00:00 - updated_at: 2022-04-26 20:30:22.959576+00:00 - name: Clou - image: '' - unit_price_cents: 134 - display_order: 1 -- model: purchase.product - fields: - created_at: 2022-04-26 20:30:22.959595+00:00 - updated_at: 2022-04-26 20:30:22.959600+00:00 - name: Villard'Ain - image: '' - unit_price_cents: 290 - display_order: 1 -- model: purchase.product - fields: - created_at: 2022-04-26 20:30:22.959610+00:00 - updated_at: 2022-04-26 20:30:22.959614+00:00 - name: Herbier - image: '' - unit_price_cents: 330 - display_order: 1 -- model: purchase.product - fields: - created_at: 2022-04-26 20:30:22.959624+00:00 - updated_at: 2022-04-26 20:30:22.959628+00:00 - name: Blanc vache - image: '' - unit_price_cents: 650 - display_order: 1