mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
(test) store fixtures
This commit is contained in:
parent
6df9724527
commit
afc0685585
100
test/fixtures/assets.yml
vendored
100
test/fixtures/assets.yml
vendored
@ -70,3 +70,103 @@ asset_8:
|
||||
type: UserAvatar
|
||||
created_at: 2018-12-27 14:48:52.141382000 Z
|
||||
updated_at: 2018-12-27 14:48:52.141382000 Z
|
||||
|
||||
asset_2707:
|
||||
id: 2707
|
||||
viewable_id: 3
|
||||
viewable_type: Product
|
||||
attachment: appset-icon.png
|
||||
type: ProductImage
|
||||
created_at: '2022-09-13 10:05:07.212923'
|
||||
updated_at: '2022-09-27 10:17:51.976313'
|
||||
is_main: true
|
||||
asset_2729:
|
||||
id: 2729
|
||||
viewable_id: 16
|
||||
viewable_type: Product
|
||||
attachment: osb.jpeg
|
||||
type: ProductImage
|
||||
created_at: '2022-09-14 13:50:12.588896'
|
||||
updated_at: '2022-09-27 10:13:39.414052'
|
||||
is_main: true
|
||||
asset_2727:
|
||||
id: 2727
|
||||
viewable_id: 15
|
||||
viewable_type: Product
|
||||
attachment: cp.jpeg
|
||||
type: ProductImage
|
||||
created_at: '2022-09-14 13:49:08.237136'
|
||||
updated_at: '2022-09-27 10:13:51.282923'
|
||||
is_main: true
|
||||
asset_2721:
|
||||
id: 2721
|
||||
viewable_id: 12
|
||||
viewable_type: Product
|
||||
attachment: casqueapointe.jpg
|
||||
type: ProductImage
|
||||
created_at: '2022-09-14 13:42:36.731315'
|
||||
updated_at: '2022-09-27 10:14:23.371827'
|
||||
is_main: true
|
||||
asset_2731:
|
||||
id: 2731
|
||||
viewable_id: 17
|
||||
viewable_type: Product
|
||||
attachment: 3plis.jpeg
|
||||
type: ProductImage
|
||||
created_at: '2022-09-14 13:51:12.634244'
|
||||
updated_at: '2022-09-27 10:13:28.657539'
|
||||
is_main: true
|
||||
asset_2725:
|
||||
id: 2725
|
||||
viewable_id: 14
|
||||
viewable_type: Product
|
||||
attachment: melamine.jpeg
|
||||
type: ProductImage
|
||||
created_at: '2022-09-14 13:48:05.033284'
|
||||
updated_at: '2022-09-27 10:14:00.569077'
|
||||
is_main: true
|
||||
asset_2723:
|
||||
id: 2723
|
||||
viewable_id: 13
|
||||
viewable_type: Product
|
||||
attachment: mdf.jpeg
|
||||
type: ProductImage
|
||||
created_at: '2022-09-14 13:47:18.129274'
|
||||
updated_at: '2022-09-27 10:14:10.137542'
|
||||
is_main: true
|
||||
asset_2733:
|
||||
id: 2733
|
||||
viewable_id: 18
|
||||
viewable_type: Product
|
||||
attachment: lamelle-colle.jpeg
|
||||
type: ProductImage
|
||||
created_at: '2022-09-14 13:52:08.666869'
|
||||
updated_at: '2022-09-27 10:13:10.979122'
|
||||
is_main: true
|
||||
asset_2719:
|
||||
id: 2719
|
||||
viewable_id: 11
|
||||
viewable_type: Product
|
||||
attachment: bulldozer.png
|
||||
type: ProductImage
|
||||
created_at: '2022-09-14 13:41:16.209363'
|
||||
updated_at: '2022-09-27 10:14:33.153221'
|
||||
is_main: true
|
||||
asset_2743:
|
||||
id: 2743
|
||||
viewable_id: 22
|
||||
viewable_type: Product
|
||||
attachment: filament_pla_1_75_bleu.jpeg
|
||||
type: ProductImage
|
||||
created_at: '2022-10-03 14:00:50.082820'
|
||||
updated_at: '2022-10-03 14:00:50.082820'
|
||||
is_main: true
|
||||
asset_2744:
|
||||
id: 2744
|
||||
viewable_id: 23
|
||||
viewable_type: Product
|
||||
attachment: filament-pla_blanc.webp
|
||||
type: ProductImage
|
||||
created_at: '2022-10-03 14:01:43.711513'
|
||||
updated_at: '2022-10-03 14:01:43.711513'
|
||||
is_main: true
|
||||
|
156
test/fixtures/invoice_items.yml
vendored
156
test/fixtures/invoice_items.yml
vendored
@ -72,3 +72,159 @@ invoice_item_6:
|
||||
object_type: Subscription
|
||||
object_id: 4
|
||||
main: true
|
||||
invoice_item_11702:
|
||||
id: 11702
|
||||
invoice_id: 5811
|
||||
amount: 4000
|
||||
created_at: '2022-09-20 15:14:23.015625'
|
||||
updated_at: '2022-09-20 15:14:23.180166'
|
||||
description: Tablette lamellé-collé x 1
|
||||
invoice_item_id:
|
||||
footprint: 1d112a787e89d444f2817b909d7857a3a26fc2a3cd4c4404fb50bec282988a02
|
||||
object_type: OrderItem
|
||||
object_id: 1
|
||||
main: true
|
||||
invoice_item_11703:
|
||||
id: 11703
|
||||
invoice_id: 5811
|
||||
amount: 500
|
||||
created_at: '2022-09-20 15:14:23.287522'
|
||||
updated_at: '2022-09-20 15:14:23.289957'
|
||||
description: Panneaux de MDF x 1
|
||||
invoice_item_id:
|
||||
footprint: 67f143564abfeab7cb93988a02987a5a2b04a2632d0f9cfde61fa39c398cd02b
|
||||
object_type: OrderItem
|
||||
object_id: 2
|
||||
main: false
|
||||
invoice_item_11704:
|
||||
id: 11704
|
||||
invoice_id: 5812
|
||||
amount: 6000
|
||||
created_at: '2022-09-20 15:14:48.367843'
|
||||
updated_at: '2022-09-20 15:14:48.385139'
|
||||
description: Panneau de contre-plaqué x 4
|
||||
invoice_item_id:
|
||||
footprint: ea51c614632c018f0fae53c2bf8503c71d18c082ae3246155971e19ac2db143a
|
||||
object_type: OrderItem
|
||||
object_id: 3
|
||||
main: true
|
||||
invoice_item_11712:
|
||||
id: 11712
|
||||
invoice_id: 5816
|
||||
amount: 119
|
||||
created_at: '2022-10-04 12:36:03.103560'
|
||||
updated_at: '2022-10-04 12:36:03.282529'
|
||||
description: Filament PLA blanc x 1
|
||||
invoice_item_id:
|
||||
footprint: 4c5c8a1d7884502ea7791aeed1701cf3761562855d51ed19396b344c665c308b
|
||||
object_type: OrderItem
|
||||
object_id: 16
|
||||
main: true
|
||||
invoice_item_11713:
|
||||
id: 11713
|
||||
invoice_id: 5816
|
||||
amount: 200
|
||||
created_at: '2022-10-04 12:36:03.286776'
|
||||
updated_at: '2022-10-04 12:36:03.290235'
|
||||
description: Filament PLA bleu x 1
|
||||
invoice_item_id:
|
||||
footprint: 12c1a2c7fdb0f4b35d0c24137e6e0bdbbb39fa5c6500aa7837c67f92084d5071
|
||||
object_type: OrderItem
|
||||
object_id: 17
|
||||
main: false
|
||||
invoice_item_11714:
|
||||
id: 11714
|
||||
invoice_id: 5817
|
||||
amount: 119
|
||||
created_at: '2022-10-04 13:54:42.977460'
|
||||
updated_at: '2022-10-04 13:54:42.992564'
|
||||
description: Filament PLA blanc x 1
|
||||
invoice_item_id:
|
||||
footprint: cdb07fe1f0b986b9a53b6ec71f91a96e8b8d438592e88fd0041133b2ab46c8ca
|
||||
object_type: OrderItem
|
||||
object_id: 18
|
||||
main: true
|
||||
invoice_item_11715:
|
||||
id: 11715
|
||||
invoice_id: 5817
|
||||
amount: 1500
|
||||
created_at: '2022-10-04 13:54:43.021426'
|
||||
updated_at: '2022-10-04 13:54:43.024326'
|
||||
description: Panneau de contre-plaqué x 1
|
||||
invoice_item_id:
|
||||
footprint: 3ac08745b737bc370424ee9f1b68b421000eb98e0f3e65d7395d905d75de05c6
|
||||
object_type: OrderItem
|
||||
object_id: 19
|
||||
main: false
|
||||
invoice_item_11716:
|
||||
id: 11716
|
||||
invoice_id: 5818
|
||||
amount: 1000
|
||||
created_at: '2022-10-04 14:04:12.745449'
|
||||
updated_at: '2022-10-04 14:04:12.749266'
|
||||
description: Bulldozer x 1
|
||||
invoice_item_id:
|
||||
footprint: 1f4b6489579d7f045c846b97bc8ed402ec91f6fd7a5c2fa93b74eb7d21c7de39
|
||||
object_type: OrderItem
|
||||
object_id: 20
|
||||
main: true
|
||||
invoice_item_11717:
|
||||
id: 11717
|
||||
invoice_id: 5819
|
||||
amount: 2
|
||||
created_at: '2022-10-04 14:17:52.856695'
|
||||
updated_at: '2022-10-04 14:17:52.871262'
|
||||
description: Sticker Hello x 2
|
||||
invoice_item_id:
|
||||
footprint: 0fbecff886d9c2ffc332def13fa2c8869be8a40d2be7a3126a77974bd920c563
|
||||
object_type: OrderItem
|
||||
object_id: 21
|
||||
main: true
|
||||
invoice_item_11718:
|
||||
id: 11718
|
||||
invoice_id: 5819
|
||||
amount: 4000
|
||||
created_at: '2022-10-04 14:17:52.875854'
|
||||
updated_at: '2022-10-04 14:17:52.878780'
|
||||
description: Tablette lamellé-collé x 1
|
||||
invoice_item_id:
|
||||
footprint: ad160b9357518b31f63661fe38998b8c1d97fda61bc744876826ae638a8142a0
|
||||
object_type: OrderItem
|
||||
object_id: 22
|
||||
main: false
|
||||
invoice_item_11719:
|
||||
id: 11719
|
||||
invoice_id: 5820
|
||||
amount: 12000
|
||||
created_at: '2022-10-04 14:25:37.319701'
|
||||
updated_at: '2022-10-04 14:25:37.322782'
|
||||
description: Tablette lamellé-collé x 3
|
||||
invoice_item_id:
|
||||
footprint: 409a6f0b9f67510038a8b9a407db6d09b97f12d7169d6f6f121eedb2941d1bfc
|
||||
object_type: OrderItem
|
||||
object_id: 11
|
||||
main: true
|
||||
invoice_item_11720:
|
||||
id: 11720
|
||||
invoice_id: 5821
|
||||
amount: 12000
|
||||
created_at: '2022-10-04 14:32:28.209257'
|
||||
updated_at: '2022-10-04 14:32:28.226556'
|
||||
description: Tablette lamellé-collé x 3
|
||||
invoice_item_id:
|
||||
footprint: 733610b9c8e33f6a63f497d867d40386c623f12a526814d09d88a96f53741b7b
|
||||
object_type: OrderItem
|
||||
object_id: 23
|
||||
main: true
|
||||
invoice_item_11721:
|
||||
id: 11721
|
||||
invoice_id: 5822
|
||||
amount: 3000
|
||||
created_at: '2022-10-04 14:35:40.603969'
|
||||
updated_at: '2022-10-04 14:35:40.608505'
|
||||
description: Panneau de 3 plis mélèze x 1
|
||||
invoice_item_id:
|
||||
footprint: c1ad8c20d080ebc8267ff0d1b668feb8c989c2561be75d311f29f49a03405895
|
||||
object_type: OrderItem
|
||||
object_id: 24
|
||||
main: true
|
||||
|
180
test/fixtures/invoices.yml
vendored
180
test/fixtures/invoices.yml
vendored
@ -124,3 +124,183 @@ invoice_6:
|
||||
invoicing_profile_id: 8
|
||||
operator_profile_id: 1
|
||||
statistic_profile_id: 8
|
||||
invoice_5811:
|
||||
id: 5811
|
||||
total: 4500
|
||||
created_at: '2022-09-20 15:14:22.873707'
|
||||
updated_at: '2022-09-20 15:14:23.496793'
|
||||
reference: '2209002'
|
||||
payment_method: local
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id:
|
||||
footprint: '094590df6330de6a2b5d2ce7230673c7178f2639ca8ceb51ba272795349fff95'
|
||||
environment: development
|
||||
invoicing_profile_id: 3
|
||||
operator_profile_id: 1
|
||||
statistic_profile_id: 3
|
||||
invoice_5812:
|
||||
id: 5812
|
||||
total: 6000
|
||||
created_at: '2022-09-20 15:14:48.345927'
|
||||
updated_at: '2022-09-20 15:14:48.409110'
|
||||
reference: '2209004'
|
||||
payment_method: local
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id:
|
||||
footprint: ea5cc57a8af956f9a3e66ec1f9bd7fe5fe51e1220955cacb11a3cc99d2e6aa54
|
||||
environment: development
|
||||
invoicing_profile_id: 7
|
||||
operator_profile_id: 1
|
||||
statistic_profile_id: 7
|
||||
invoice_5816:
|
||||
id: 5816
|
||||
total: 319
|
||||
created_at: '2022-10-04 12:36:03.060832'
|
||||
updated_at: '2022-10-04 12:36:03.445507'
|
||||
reference: 2210002/VL
|
||||
payment_method: card
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id:
|
||||
footprint: ca8879f07cf1bd29500a9df29ce110843fb204ab0da8140bb4c6e8e908a65e0b
|
||||
environment: development
|
||||
invoicing_profile_id: 4
|
||||
operator_profile_id: 4
|
||||
statistic_profile_id: 4
|
||||
invoice_5817:
|
||||
id: 5817
|
||||
total: 1296
|
||||
created_at: '2022-10-04 13:54:42.975196'
|
||||
updated_at: '2022-10-04 13:54:43.070098'
|
||||
reference: 2210004/VL
|
||||
payment_method: card
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id: 30
|
||||
footprint: 838ae505dfba54f6a69cd341abf8f97fd9370c2acb81e37c6e70d98049d80646
|
||||
environment: development
|
||||
invoicing_profile_id: 4
|
||||
operator_profile_id: 4
|
||||
statistic_profile_id: 4
|
||||
invoice_5818:
|
||||
id: 5818
|
||||
total: 1000
|
||||
created_at: '2022-10-04 14:04:12.742685'
|
||||
updated_at: '2022-10-04 14:04:12.774844'
|
||||
reference: 2210006/VL
|
||||
payment_method: card
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id:
|
||||
footprint: 93db8c6ded7066a71927b6950cf5a9ea69aff25036df3a5a4259615347f2c8b2
|
||||
environment: development
|
||||
invoicing_profile_id: 4
|
||||
operator_profile_id: 4
|
||||
statistic_profile_id: 4
|
||||
invoice_5819:
|
||||
id: 5819
|
||||
total: 4002
|
||||
created_at: '2022-10-04 14:17:52.854636'
|
||||
updated_at: '2022-10-04 14:17:52.898044'
|
||||
reference: 2210008/VL
|
||||
payment_method: card
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id:
|
||||
footprint: bfd2f78a99aadd137f3f28fe8258a46ff8afa69b458f0a6f2dce1205fab22784
|
||||
environment: development
|
||||
invoicing_profile_id: 4
|
||||
operator_profile_id: 4
|
||||
statistic_profile_id: 4
|
||||
invoice_5820:
|
||||
id: 5820
|
||||
total: 12000
|
||||
created_at: '2022-10-04 14:25:37.291945'
|
||||
updated_at: '2022-10-04 14:25:37.341401'
|
||||
reference: '2210010'
|
||||
payment_method: local
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id:
|
||||
footprint: db6a663a25e19229ee93868765e1463ec7bd7856b173c5dd326d70d98369cfc0
|
||||
environment: development
|
||||
invoicing_profile_id: 3
|
||||
operator_profile_id: 1
|
||||
statistic_profile_id: 3
|
||||
invoice_5821:
|
||||
id: 5821
|
||||
total: 12000
|
||||
created_at: '2022-10-04 14:32:28.204985'
|
||||
updated_at: '2022-10-04 14:32:28.292591'
|
||||
reference: '2210012'
|
||||
payment_method: local
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id:
|
||||
footprint: 3ed9a13e5c7155bc3b186f3215b90345cc5520822728796e7c1c00ad5128ed01
|
||||
environment: development
|
||||
invoicing_profile_id: 2
|
||||
operator_profile_id: 1
|
||||
statistic_profile_id: 2
|
||||
invoice_5822:
|
||||
id: 5822
|
||||
total: 3000
|
||||
created_at: '2022-10-04 14:35:40.584472'
|
||||
updated_at: '2022-10-04 14:35:40.637091'
|
||||
reference: '2210014'
|
||||
payment_method: local
|
||||
avoir_date:
|
||||
invoice_id:
|
||||
type:
|
||||
subscription_to_expire:
|
||||
description:
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
coupon_id:
|
||||
footprint: 63d069e72b4992244861e9450b0c3ba3b9b30638af972a631b81578091d2925d
|
||||
environment: development
|
||||
invoicing_profile_id: 2
|
||||
operator_profile_id: 1
|
||||
statistic_profile_id: 2
|
||||
|
129
test/fixtures/order_activities.yml
vendored
129
test/fixtures/order_activities.yml
vendored
@ -0,0 +1,129 @@
|
||||
order_activity_1:
|
||||
id: 1
|
||||
order_id: 1
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-09-20 15:14:22.596166'
|
||||
updated_at: '2022-09-20 15:14:22.596166'
|
||||
order_activity_2:
|
||||
id: 2
|
||||
order_id: 2
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-09-20 15:14:48.328689'
|
||||
updated_at: '2022-09-20 15:14:48.328689'
|
||||
order_activity_6:
|
||||
id: 6
|
||||
order_id: 9
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-10-04 12:36:02.719677'
|
||||
updated_at: '2022-10-04 12:36:02.719677'
|
||||
order_activity_7:
|
||||
id: 7
|
||||
order_id: 2
|
||||
operator_profile_id: 2437
|
||||
activity_type: ready
|
||||
note: Merci de venir retirer la commande
|
||||
created_at: '2022-10-04 13:37:49.932146'
|
||||
updated_at: '2022-10-04 13:37:49.932146'
|
||||
order_activity_11:
|
||||
id: 11
|
||||
order_id: 9
|
||||
operator_profile_id: 2437
|
||||
activity_type: ready
|
||||
note: ''
|
||||
created_at: '2022-10-04 13:50:30.609274'
|
||||
updated_at: '2022-10-04 13:50:30.609274'
|
||||
order_activity_12:
|
||||
id: 12
|
||||
order_id: 10
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-10-04 13:54:42.749983'
|
||||
updated_at: '2022-10-04 13:54:42.749983'
|
||||
order_activity_13:
|
||||
id: 13
|
||||
order_id: 10
|
||||
operator_profile_id: 2437
|
||||
activity_type: ready
|
||||
note: ''
|
||||
created_at: '2022-10-04 13:54:56.790702'
|
||||
updated_at: '2022-10-04 13:54:56.790702'
|
||||
order_activity_14:
|
||||
id: 14
|
||||
order_id: 11
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-10-04 14:04:12.721800'
|
||||
updated_at: '2022-10-04 14:04:12.721800'
|
||||
order_activity_15:
|
||||
id: 15
|
||||
order_id: 11
|
||||
operator_profile_id: 2437
|
||||
activity_type: ready
|
||||
note: ''
|
||||
created_at: '2022-10-04 14:04:28.489152'
|
||||
updated_at: '2022-10-04 14:04:28.489152'
|
||||
order_activity_16:
|
||||
id: 16
|
||||
order_id: 12
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-10-04 14:17:52.835587'
|
||||
updated_at: '2022-10-04 14:17:52.835587'
|
||||
order_activity_17:
|
||||
id: 17
|
||||
order_id: 12
|
||||
operator_profile_id: 2437
|
||||
activity_type: ready
|
||||
note: "<p>je ne sais pas que te dire <u>mon ami</u></p>"
|
||||
created_at: '2022-10-04 14:22:54.560670'
|
||||
updated_at: '2022-10-04 14:22:54.560670'
|
||||
order_activity_18:
|
||||
id: 18
|
||||
order_id: 5
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-10-04 14:25:37.278540'
|
||||
updated_at: '2022-10-04 14:25:37.278540'
|
||||
order_activity_19:
|
||||
id: 19
|
||||
order_id: 14
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-10-04 14:32:27.965847'
|
||||
updated_at: '2022-10-04 14:32:27.965847'
|
||||
order_activity_20:
|
||||
id: 20
|
||||
order_id: 14
|
||||
operator_profile_id: 2437
|
||||
activity_type: ready
|
||||
note: "<p><strong>Lorem ipsum</strong> dolor sit amet</p>"
|
||||
created_at: '2022-10-04 14:33:17.067080'
|
||||
updated_at: '2022-10-04 14:33:17.067080'
|
||||
order_activity_21:
|
||||
id: 21
|
||||
order_id: 15
|
||||
operator_profile_id:
|
||||
activity_type: paid
|
||||
note:
|
||||
created_at: '2022-10-04 14:35:40.554303'
|
||||
updated_at: '2022-10-04 14:35:40.554303'
|
||||
order_activity_22:
|
||||
id: 22
|
||||
order_id: 15
|
||||
operator_profile_id: 2437
|
||||
activity_type: ready
|
||||
note: "<p>Votre <em>commande</em> est prête, merci de venir la récupérer <strong>jeudi</strong>
|
||||
<u>après 14 h</u>.</p>"
|
||||
created_at: '2022-10-05 10:04:53.113486'
|
||||
updated_at: '2022-10-05 10:04:53.113486'
|
162
test/fixtures/orders.yml
vendored
162
test/fixtures/orders.yml
vendored
@ -0,0 +1,162 @@
|
||||
order_1:
|
||||
id: 1
|
||||
statistic_profile_id: 3
|
||||
operator_profile_id: 1
|
||||
token: 3R9wtsPjyYMHKqy-I2V5Cg1661868752184
|
||||
reference:
|
||||
state: paid
|
||||
total: 4500
|
||||
created_at: '2022-08-30 14:12:32.213832'
|
||||
updated_at: '2022-09-20 15:14:23.501369'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: local
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id:
|
||||
paid_total: 4500
|
||||
invoice_id: 5811
|
||||
order_2:
|
||||
id: 2
|
||||
statistic_profile_id: 7
|
||||
operator_profile_id: 1
|
||||
token: TDKq6p4f3WgDRMIvplEqpg1663686863871
|
||||
reference: '005877-09-22'
|
||||
state: ready
|
||||
total: 6000
|
||||
created_at: '2022-09-20 15:14:23.887098'
|
||||
updated_at: '2022-10-04 13:37:49.935380'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: local
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id:
|
||||
paid_total: 6000
|
||||
invoice_id: 5812
|
||||
order_5:
|
||||
id: 5
|
||||
statistic_profile_id: 3
|
||||
operator_profile_id: 1
|
||||
token: UbTOaTePhajDJPPH42e3yw1664353619348
|
||||
reference: '005882-09-22'
|
||||
state: paid
|
||||
total: 12000
|
||||
created_at: '2022-09-28 08:26:59.368029'
|
||||
updated_at: '2022-10-04 14:25:37.345897'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: local
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id:
|
||||
paid_total: 12000
|
||||
invoice_id: 5820
|
||||
order_9:
|
||||
id: 9
|
||||
statistic_profile_id: 4
|
||||
operator_profile_id: 4
|
||||
token: 8jOZwd2vkE86x26cg167iQ1664886886040
|
||||
reference: '005888-10-22'
|
||||
state: ready
|
||||
total: 319
|
||||
created_at: '2022-10-04 12:34:46.054976'
|
||||
updated_at: '2022-10-04 13:50:30.611456'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: card
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id:
|
||||
paid_total: 319
|
||||
invoice_id: 5816
|
||||
order_10:
|
||||
id: 10
|
||||
statistic_profile_id: 4
|
||||
operator_profile_id: 4
|
||||
token: ryrsm4yj21DTJv1qIgMuGA1664886964105
|
||||
reference: '005890-10-22'
|
||||
state: ready
|
||||
total: 1619
|
||||
created_at: '2022-10-04 12:36:04.117389'
|
||||
updated_at: '2022-10-04 13:54:56.792550'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: card
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id: 30
|
||||
paid_total: 1296
|
||||
invoice_id: 5817
|
||||
order_11:
|
||||
id: 11
|
||||
statistic_profile_id: 4
|
||||
operator_profile_id: 4
|
||||
token: ogvv31XzLE0zFLc_c8k4Sw1664891683573
|
||||
reference: '005892-10-22'
|
||||
state: ready
|
||||
total: 1000
|
||||
created_at: '2022-10-04 13:54:43.617309'
|
||||
updated_at: '2022-10-04 14:04:28.490690'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: card
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id:
|
||||
paid_total: 1000
|
||||
invoice_id: 5818
|
||||
order_12:
|
||||
id: 12
|
||||
statistic_profile_id: 4
|
||||
operator_profile_id: 4
|
||||
token: ttG9U892Bu0gbu8OnJkwTw1664892253183
|
||||
reference: '005894-10-22'
|
||||
state: ready
|
||||
total: 4002
|
||||
created_at: '2022-10-04 14:04:13.206078'
|
||||
updated_at: '2022-10-04 14:22:54.562186'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: card
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id:
|
||||
paid_total: 4002
|
||||
invoice_id: 5819
|
||||
order_14:
|
||||
id: 14
|
||||
statistic_profile_id: 2
|
||||
operator_profile_id: 1
|
||||
token: QsDdf_8YHL6mxUSMno-deg1664893537749
|
||||
reference: '005898-10-22'
|
||||
state: ready
|
||||
total: 12000
|
||||
created_at: '2022-10-04 14:25:37.773536'
|
||||
updated_at: '2022-10-04 14:33:17.068764'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: local
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id:
|
||||
paid_total: 12000
|
||||
invoice_id: 5821
|
||||
order_15:
|
||||
id: 15
|
||||
statistic_profile_id: 2
|
||||
operator_profile_id: 1
|
||||
token: JOLm4fAZjFSkmWzAX3KObw1664893948693
|
||||
reference: '005900-10-22'
|
||||
state: ready
|
||||
total: 3000
|
||||
created_at: '2022-10-04 14:32:28.706806'
|
||||
updated_at: '2022-10-05 10:04:53.142267'
|
||||
wallet_amount:
|
||||
wallet_transaction_id:
|
||||
payment_method: local
|
||||
footprint:
|
||||
environment: test
|
||||
coupon_id:
|
||||
paid_total: 3000
|
||||
invoice_id: 5822
|
49
test/fixtures/product_categories.yml
vendored
49
test/fixtures/product_categories.yml
vendored
@ -0,0 +1,49 @@
|
||||
product_category_1:
|
||||
id: 1
|
||||
name: Consommables
|
||||
slug: consommables
|
||||
parent_id:
|
||||
position: 0
|
||||
created_at: '2022-08-23 07:55:35.573968'
|
||||
updated_at: '2022-08-23 07:55:35.573968'
|
||||
product_category_2:
|
||||
id: 2
|
||||
name: Fournitures
|
||||
slug: fournitures
|
||||
parent_id:
|
||||
position: 1
|
||||
created_at: '2022-08-23 07:55:49.380035'
|
||||
updated_at: '2022-10-05 11:42:52.965226'
|
||||
product_category_3:
|
||||
id: 3
|
||||
name: Filament imprimante 3D
|
||||
slug: filament-imprimante-3d
|
||||
parent_id: 1
|
||||
position: 0
|
||||
created_at: '2022-08-23 07:56:05.254962'
|
||||
updated_at: '2022-08-23 07:56:05.254962'
|
||||
product_category_4:
|
||||
id: 4
|
||||
name: Objets créés au fablab
|
||||
slug: objets-crees-au-fablab
|
||||
parent_id:
|
||||
position: 2
|
||||
created_at: '2022-09-14 13:39:03.170717'
|
||||
updated_at: '2022-10-05 11:42:52.965226'
|
||||
product_category_5:
|
||||
id: 5
|
||||
name: Bois
|
||||
slug: bois
|
||||
parent_id: 1
|
||||
position: 1
|
||||
created_at: '2022-09-14 14:57:58.136610'
|
||||
updated_at: '2022-09-14 14:57:58.136610'
|
||||
product_category_6:
|
||||
id: 6
|
||||
name: Stickers
|
||||
slug: stickers
|
||||
parent_id: 4
|
||||
position: 0
|
||||
created_at: '2022-09-28 08:12:35.823487'
|
||||
updated_at: '2022-09-28 08:12:35.823487'
|
||||
|
275
test/fixtures/product_stock_movements.yml
vendored
275
test/fixtures/product_stock_movements.yml
vendored
@ -0,0 +1,275 @@
|
||||
product_stock_movement_26:
|
||||
id: 26
|
||||
product_id: 3
|
||||
quantity: 1
|
||||
reason: inward_stock
|
||||
stock_type: internal
|
||||
remaining_stock: 1
|
||||
date: '2022-09-13 12:52:52.656974'
|
||||
created_at: '2022-09-13 12:52:52.669247'
|
||||
updated_at: '2022-09-13 12:52:52.669247'
|
||||
order_item_id:
|
||||
product_stock_movement_33:
|
||||
id: 33
|
||||
product_id: 11
|
||||
quantity: 10
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 10
|
||||
date: '2022-09-14 13:41:16.204940'
|
||||
created_at: '2022-09-14 13:41:16.212290'
|
||||
updated_at: '2022-09-14 13:41:16.212290'
|
||||
order_item_id:
|
||||
product_stock_movement_34:
|
||||
id: 34
|
||||
product_id: 12
|
||||
quantity: 1
|
||||
reason: returned
|
||||
stock_type: internal
|
||||
remaining_stock: 1
|
||||
date: '2022-09-14 13:42:53.702489'
|
||||
created_at: '2022-09-14 13:42:53.706634'
|
||||
updated_at: '2022-09-14 13:42:53.706634'
|
||||
order_item_id:
|
||||
product_stock_movement_35:
|
||||
id: 35
|
||||
product_id: 13
|
||||
quantity: 1000
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 1000
|
||||
date: '2022-09-14 13:47:18.120615'
|
||||
created_at: '2022-09-14 13:47:18.131919'
|
||||
updated_at: '2022-09-14 13:47:18.131919'
|
||||
order_item_id:
|
||||
product_stock_movement_36:
|
||||
id: 36
|
||||
product_id: 14
|
||||
quantity: 800
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 800
|
||||
date: '2022-09-14 13:48:05.025884'
|
||||
created_at: '2022-09-14 13:48:05.035926'
|
||||
updated_at: '2022-09-14 13:48:05.035926'
|
||||
order_item_id:
|
||||
product_stock_movement_37:
|
||||
id: 37
|
||||
product_id: 15
|
||||
quantity: 600
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 600
|
||||
date: '2022-09-14 13:49:08.203980'
|
||||
created_at: '2022-09-14 13:49:08.240896'
|
||||
updated_at: '2022-09-14 13:49:08.240896'
|
||||
order_item_id:
|
||||
product_stock_movement_38:
|
||||
id: 38
|
||||
product_id: 16
|
||||
quantity: 100
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 100
|
||||
date: '2022-09-14 13:50:12.581463'
|
||||
created_at: '2022-09-14 13:50:12.591335'
|
||||
updated_at: '2022-09-14 13:50:12.591335'
|
||||
order_item_id:
|
||||
product_stock_movement_39:
|
||||
id: 39
|
||||
product_id: 17
|
||||
quantity: 100
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 100
|
||||
date: '2022-09-14 13:51:12.627746'
|
||||
created_at: '2022-09-14 13:51:12.636692'
|
||||
updated_at: '2022-09-14 13:51:12.636692'
|
||||
order_item_id:
|
||||
product_stock_movement_40:
|
||||
id: 40
|
||||
product_id: 18
|
||||
quantity: 20
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 20
|
||||
date: '2022-09-14 13:52:08.655537'
|
||||
created_at: '2022-09-14 13:52:08.672419'
|
||||
updated_at: '2022-09-14 13:52:08.672419'
|
||||
order_item_id:
|
||||
product_stock_movement_41:
|
||||
id: 41
|
||||
product_id: 18
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 19
|
||||
date: '2022-09-20 15:14:22.629666'
|
||||
created_at: '2022-09-20 15:14:22.651877'
|
||||
updated_at: '2022-09-20 15:14:22.651877'
|
||||
order_item_id: 1
|
||||
product_stock_movement_42:
|
||||
id: 42
|
||||
product_id: 13
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 999
|
||||
date: '2022-09-20 15:14:22.688402'
|
||||
created_at: '2022-09-20 15:14:22.692461'
|
||||
updated_at: '2022-09-20 15:14:22.692461'
|
||||
order_item_id: 2
|
||||
product_stock_movement_43:
|
||||
id: 43
|
||||
product_id: 15
|
||||
quantity: -4
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 596
|
||||
date: '2022-09-20 15:14:48.330513'
|
||||
created_at: '2022-09-20 15:14:48.334360'
|
||||
updated_at: '2022-09-20 15:14:48.334360'
|
||||
order_item_id: 3
|
||||
product_stock_movement_56:
|
||||
id: 56
|
||||
product_id: 22
|
||||
quantity: 1000
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 1000
|
||||
date: '2022-10-03 14:00:49.950506'
|
||||
created_at: '2022-10-03 14:00:50.107429'
|
||||
updated_at: '2022-10-03 14:00:50.107429'
|
||||
order_item_id:
|
||||
product_stock_movement_57:
|
||||
id: 57
|
||||
product_id: 22
|
||||
quantity: 1000
|
||||
reason: inward_stock
|
||||
stock_type: internal
|
||||
remaining_stock: 1000
|
||||
date: '2022-10-03 14:00:49.950569'
|
||||
created_at: '2022-10-03 14:00:50.136314'
|
||||
updated_at: '2022-10-03 14:00:50.136314'
|
||||
order_item_id:
|
||||
product_stock_movement_58:
|
||||
id: 58
|
||||
product_id: 23
|
||||
quantity: 1000
|
||||
reason: inward_stock
|
||||
stock_type: internal
|
||||
remaining_stock: 1000
|
||||
date: '2022-10-03 14:02:00.518281'
|
||||
created_at: '2022-10-03 14:02:00.524640'
|
||||
updated_at: '2022-10-03 14:02:00.524640'
|
||||
order_item_id:
|
||||
product_stock_movement_59:
|
||||
id: 59
|
||||
product_id: 23
|
||||
quantity: 1000
|
||||
reason: inward_stock
|
||||
stock_type: external
|
||||
remaining_stock: 1000
|
||||
date: '2022-10-03 14:02:00.518337'
|
||||
created_at: '2022-10-03 14:02:00.526611'
|
||||
updated_at: '2022-10-03 14:02:00.526611'
|
||||
order_item_id:
|
||||
product_stock_movement_61:
|
||||
id: 61
|
||||
product_id: 23
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 999
|
||||
date: '2022-10-04 12:36:02.765304'
|
||||
created_at: '2022-10-04 12:36:02.788575'
|
||||
updated_at: '2022-10-04 12:36:02.788575'
|
||||
order_item_id: 16
|
||||
product_stock_movement_62:
|
||||
id: 62
|
||||
product_id: 22
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 999
|
||||
date: '2022-10-04 12:36:02.827107'
|
||||
created_at: '2022-10-04 12:36:02.832197'
|
||||
updated_at: '2022-10-04 12:36:02.832197'
|
||||
order_item_id: 17
|
||||
product_stock_movement_63:
|
||||
id: 63
|
||||
product_id: 23
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 998
|
||||
date: '2022-10-04 13:54:42.768616'
|
||||
created_at: '2022-10-04 13:54:42.783563'
|
||||
updated_at: '2022-10-04 13:54:42.783563'
|
||||
order_item_id: 18
|
||||
product_stock_movement_64:
|
||||
id: 64
|
||||
product_id: 15
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 595
|
||||
date: '2022-10-04 13:54:42.785294'
|
||||
created_at: '2022-10-04 13:54:42.788610'
|
||||
updated_at: '2022-10-04 13:54:42.788610'
|
||||
order_item_id: 19
|
||||
product_stock_movement_65:
|
||||
id: 65
|
||||
product_id: 11
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 9
|
||||
date: '2022-10-04 14:04:12.723429'
|
||||
created_at: '2022-10-04 14:04:12.729897'
|
||||
updated_at: '2022-10-04 14:04:12.729897'
|
||||
order_item_id: 20
|
||||
product_stock_movement_67:
|
||||
id: 67
|
||||
product_id: 18
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 18
|
||||
date: '2022-10-04 14:17:52.842942'
|
||||
created_at: '2022-10-04 14:17:52.846168'
|
||||
updated_at: '2022-10-04 14:17:52.846168'
|
||||
order_item_id: 22
|
||||
product_stock_movement_68:
|
||||
id: 68
|
||||
product_id: 18
|
||||
quantity: -3
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 15
|
||||
date: '2022-10-04 14:25:37.280032'
|
||||
created_at: '2022-10-04 14:25:37.283491'
|
||||
updated_at: '2022-10-04 14:25:37.283491'
|
||||
order_item_id: 11
|
||||
product_stock_movement_69:
|
||||
id: 69
|
||||
product_id: 18
|
||||
quantity: -3
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 12
|
||||
date: '2022-10-04 14:32:28.002830'
|
||||
created_at: '2022-10-04 14:32:28.023296'
|
||||
updated_at: '2022-10-04 14:32:28.023296'
|
||||
order_item_id: 23
|
||||
product_stock_movement_70:
|
||||
id: 70
|
||||
product_id: 17
|
||||
quantity: -1
|
||||
reason: sold
|
||||
stock_type: external
|
||||
remaining_stock: 99
|
||||
date: '2022-10-04 14:35:40.556113'
|
||||
created_at: '2022-10-04 14:35:40.560251'
|
||||
updated_at: '2022-10-04 14:35:40.560251'
|
||||
order_item_id: 24
|
182
test/fixtures/products.yml
vendored
182
test/fixtures/products.yml
vendored
@ -0,0 +1,182 @@
|
||||
product_3:
|
||||
id: 3
|
||||
name: Caisse en bois
|
||||
slug: caisse-en-bois
|
||||
sku: '1694813216840'
|
||||
description: "<p>C'est un superbe caisse en bois massif</p>"
|
||||
is_active: true
|
||||
product_category_id: 4
|
||||
amount: 52300
|
||||
quantity_min: 10
|
||||
stock: '{"external": 0, "internal": 1}'
|
||||
low_stock_alert: true
|
||||
low_stock_threshold: 10
|
||||
created_at: '2022-09-13 10:05:07.010322'
|
||||
updated_at: '2022-09-14 13:39:55.309956'
|
||||
product_11:
|
||||
id: 11
|
||||
name: Bulldozer
|
||||
slug: bulldozer
|
||||
sku: '816516515'
|
||||
description: "<p>Jouet pour enfants</p>"
|
||||
is_active: true
|
||||
product_category_id: 4
|
||||
amount: 1000
|
||||
quantity_min: 1
|
||||
stock: '{"external": 9, "internal": 0}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-14 13:41:16.207154'
|
||||
updated_at: '2022-10-04 14:04:12.727452'
|
||||
product_12:
|
||||
id: 12
|
||||
name: Casque à pointe
|
||||
slug: casque-a-pointe
|
||||
sku: '10210706'
|
||||
description: "<p>Authentique casque à pointe allemand de la 1ère guerre mondiale</p>"
|
||||
is_active: true
|
||||
product_category_id: 4
|
||||
amount: 142300
|
||||
quantity_min: 1
|
||||
stock: '{"external": 0, "internal": 1}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-14 13:42:36.729625'
|
||||
updated_at: '2022-09-14 13:42:53.704455'
|
||||
product_13:
|
||||
id: 13
|
||||
name: Panneaux de MDF
|
||||
slug: panneaux-de-mdf
|
||||
sku: 3-8612
|
||||
description: ''
|
||||
is_active: true
|
||||
product_category_id: 5
|
||||
amount: 500
|
||||
quantity_min: 1
|
||||
stock: '{"external": 999, "internal": 0}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-14 13:47:18.123531'
|
||||
updated_at: '2022-09-20 15:14:22.690742'
|
||||
product_14:
|
||||
id: 14
|
||||
name: Panneau de mélaminé
|
||||
slug: panneau-de-melamine
|
||||
sku: 12-4512
|
||||
description: ''
|
||||
is_active: true
|
||||
product_category_id: 5
|
||||
amount: 1000
|
||||
quantity_min: 1
|
||||
stock: '{"external": 800, "internal": 0}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-14 13:48:05.028266'
|
||||
updated_at: '2022-09-14 14:58:28.577253'
|
||||
product_15:
|
||||
id: 15
|
||||
name: Panneau de contre-plaqué
|
||||
slug: panneau-de-contre-plaque
|
||||
sku: 12-4613
|
||||
description: ''
|
||||
is_active: true
|
||||
product_category_id: 5
|
||||
amount: 1500
|
||||
quantity_min: 1
|
||||
stock: '{"external": 595, "internal": 0}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-14 13:49:08.233064'
|
||||
updated_at: '2022-10-04 13:54:42.787290'
|
||||
product_16:
|
||||
id: 16
|
||||
name: Panneau d'OSB
|
||||
slug: panneau-osb
|
||||
sku: 14-14488
|
||||
description: ''
|
||||
is_active: true
|
||||
product_category_id: 5
|
||||
amount: 1300
|
||||
quantity_min: 1
|
||||
stock: '{"external": 100, "internal": 0}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-14 13:50:12.584041'
|
||||
updated_at: '2022-09-14 14:58:38.374112'
|
||||
product_17:
|
||||
id: 17
|
||||
name: Panneau de 3 plis mélèze
|
||||
slug: panneau-de-3-plis-meleze
|
||||
sku: 14-47887
|
||||
description: ''
|
||||
is_active: true
|
||||
product_category_id: 5
|
||||
amount: 3000
|
||||
quantity_min: 1
|
||||
stock: '{"external": 99, "internal": 0}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-14 13:51:12.630109'
|
||||
updated_at: '2022-10-04 14:35:40.558485'
|
||||
product_18:
|
||||
id: 18
|
||||
name: Tablette lamellé-collé
|
||||
slug: tablette-lamelle-colle
|
||||
sku: 14-879895
|
||||
description: ''
|
||||
is_active: true
|
||||
product_category_id: 5
|
||||
amount: 4000
|
||||
quantity_min: 1
|
||||
stock: '{"external": 12, "internal": 0}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-14 13:52:08.659248'
|
||||
updated_at: '2022-10-04 14:32:28.021046'
|
||||
product_20:
|
||||
id: 20
|
||||
name: Sticker Hello
|
||||
slug: sticker-hello
|
||||
sku: 63-44801
|
||||
description: <p>un joli sticker en forme de <a target="_blank" rel="noopener noreferrer nofollow"
|
||||
href="https://www.example.com/hello">smiley</a> qui dit bonjour</p>
|
||||
is_active: true
|
||||
product_category_id: 6
|
||||
amount: 1
|
||||
quantity_min: 1
|
||||
stock: '{"external": 15, "internal": 0}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-09-28 08:16:32.348880'
|
||||
updated_at: '2022-10-04 14:17:52.839249'
|
||||
product_22:
|
||||
id: 22
|
||||
name: Filament PLA bleu
|
||||
slug: filament-pla-bleu
|
||||
sku: 984-777
|
||||
description: <p><a target="_blank" rel="noopener noreferrer nofollow" href="https://www.filimprimante3d.fr/content/80-le-pla-c-est-quoi-comment-choisir-son-filament-pla">Filament
|
||||
PLA</a> 1,75 mm de couleur bleue</p>
|
||||
is_active: true
|
||||
product_category_id: 3
|
||||
amount: 200
|
||||
quantity_min: 1
|
||||
stock: '{"external": 999, "internal": 1000}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-10-03 14:00:49.967342'
|
||||
updated_at: '2022-10-04 12:36:02.830248'
|
||||
product_23:
|
||||
id: 23
|
||||
name: Filament PLA blanc
|
||||
slug: filament-pla-blanc
|
||||
sku: 178-774
|
||||
description: "<p>Filament PLA 1,75 mm blanc</p>"
|
||||
is_active: true
|
||||
product_category_id: 3
|
||||
amount: 119
|
||||
quantity_min: 1
|
||||
stock: '{"external": 998, "internal": 1000}'
|
||||
low_stock_alert: false
|
||||
low_stock_threshold:
|
||||
created_at: '2022-10-03 14:01:43.706366'
|
||||
updated_at: '2022-10-04 13:54:42.782174'
|
15
test/fixtures/users_roles.yml
vendored
15
test/fixtures/users_roles.yml
vendored
@ -27,3 +27,18 @@ users_role_6:
|
||||
user_id: 6
|
||||
role_id: 4
|
||||
|
||||
users_role_7:
|
||||
user_id: 7
|
||||
role_id: 2
|
||||
|
||||
users_role_8:
|
||||
user_id: 8
|
||||
role_id: 2
|
||||
|
||||
users_role_9:
|
||||
user_id: 9
|
||||
role_id: 2
|
||||
|
||||
users_role_10:
|
||||
user_id: 10
|
||||
role_id: 2
|
||||
|
Loading…
Reference in New Issue
Block a user