test(fixtures): muta CSV-urile de import exemplu in tests/fixtures/

Doua formate exemplu pentru import: test_data.csv (cod_prestatie RAR direct)
si test_data_mapping.csv (cod_op_service + denumire, necesita mapare operatie).
Folosite la testarea manuala a fluxului de import web.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-06-18 20:01:47 +00:00
parent a40b20b3b4
commit ccd26115f8
2 changed files with 12 additions and 0 deletions

6
tests/fixtures/test_data.csv vendored Normal file
View File

@@ -0,0 +1,6 @@
vin,nr_inmatriculare,data_prestatie,odometru_final,odometru_initial,cod_prestatie
1G1FB1S52D1234567,AB123CD,2026-06-10,45000,40000,R-REP
WVWZZZ3CZ9E123456,TM789BC,2026-05-15,82500,,VP-DAY
2B1FB1S39C2345678,CJ456DE,2026-04-20,125000,120000,I-ODO
JTHBP5C20D5123456,OT567FG,2026-03-08,38000,,ITP-REP
5TDJZRFH2LS123456,VN678HI,2026-02-14,156000,150000,R-ODO
1 vin nr_inmatriculare data_prestatie odometru_final odometru_initial cod_prestatie
2 1G1FB1S52D1234567 AB123CD 2026-06-10 45000 40000 R-REP
3 WVWZZZ3CZ9E123456 TM789BC 2026-05-15 82500 VP-DAY
4 2B1FB1S39C2345678 CJ456DE 2026-04-20 125000 120000 I-ODO
5 JTHBP5C20D5123456 OT567FG 2026-03-08 38000 ITP-REP
6 5TDJZRFH2LS123456 VN678HI 2026-02-14 156000 150000 R-ODO

6
tests/fixtures/test_data_mapping.csv vendored Normal file
View File

@@ -0,0 +1,6 @@
vin,nr_inmatriculare,data_prestatie,odometru_final,cod_op_service,denumire
1G1FB1S52D1234567,AB123CD,2026-06-10,45000,OP-MOTOR,Reparatie Motor
WVWZZZ3CZ9E123456,TM789BC,2026-05-15,82500,OP-ITP,Inspecție Tehnică Periodică
2B1FB1S39C2345678,CJ456DE,2026-04-20,125000,OP-TURBO,Reparatie Turbo
JTHBP5C20D5123456,OT567FG,2026-03-08,38000,OP-ULEI,Schimb Ulei
5TDJZRFH2LS123456,VN678HI,2026-02-14,156000,OP-PNEU,Inlocuire Anvelope
1 vin nr_inmatriculare data_prestatie odometru_final cod_op_service denumire
2 1G1FB1S52D1234567 AB123CD 2026-06-10 45000 OP-MOTOR Reparatie Motor
3 WVWZZZ3CZ9E123456 TM789BC 2026-05-15 82500 OP-ITP Inspecție Tehnică Periodică
4 2B1FB1S39C2345678 CJ456DE 2026-04-20 125000 OP-TURBO Reparatie Turbo
5 JTHBP5C20D5123456 OT567FG 2026-03-08 38000 OP-ULEI Schimb Ulei
6 5TDJZRFH2LS123456 VN678HI 2026-02-14 156000 OP-PNEU Inlocuire Anvelope