Skip to content

Commit cd375aa

Browse files
committed
fix: unit test
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 9a68a60 commit cd375aa

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

tests/php/Command/MakeProducaoCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ public static function providerScenarios(): array
6666
'2023-08',
6767
<<<CSV
6868
akaunting_contact_id,auxilio,base_irpf,base_producao,bruto,dependentes,document_number,peso,frra,health_insurance,inss,irpf,adiantamento,liquido,name,tax_number
69-
6,9685,33287.139333333,48425,34704.583333333,0,,1,4035.4166666667,0,1417.444,8269.0033166667,0,34703.136016667,"Pessoa 01",CPF_PESSOA_01
69+
6,9685,33287.139333333,48425,34704.583333333,0,,1,4035.4166666667,0,1417.444,8269.0033166667,0,34703.136016667,"Pessoa 01",CPF______01
7070
CSV
7171
],
7272
'recebe_metade' => [
7373
'recebe_metade',
7474
'2023-08',
7575
<<<CSV
7676
akaunting_contact_id,auxilio,base_irpf,base_producao,bruto,dependentes,document_number,peso,frra,health_insurance,inss,irpf,adiantamento,liquido,name,tax_number
77-
6,4842.5,15934.847666667,24212.5,17352.291666667,0,,1,2017.7083333333,0,1417.444,3497.1231083333,0,17280.224558333,"Pessoa 01",CPF_PESSOA_01
77+
6,4842.5,15934.847666667,24212.5,17352.291666667,0,,1,2017.7083333333,0,1417.444,3497.1231083333,0,17280.224558333,"Pessoa 01",CPF______01
7878
CSV
7979
],
8080
];
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"id","alias","kimai_username","akaunting_contact_id","tax_number","dependents","enabled","metadata"
22
1,admin,admin,,"12345678903",0,1,"{""id"": 1, ""alias"": ""admin"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""AD"", ""username"": ""admin"", ""dependents"": 0, ""tax_number"": ""12345678903"", ""accountNumber"": null, ""kimai_username"": ""admin"", ""akaunting_contact_id"": null}"
3-
2,Pessoa 01,pessoa01,6,CPF_PESSOA_01,0,1,"{""id"": 2, ""alias"": ""Pessoa 01"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa01"", ""dependents"": 0, ""tax_number"": ""CPF_PESSOA_01"", ""accountNumber"": null, ""kimai_username"": ""pessoa01"", ""akaunting_contact_id"": 6}"
4-
3,Pessoa 02,pessoa02,7,CPF_PESSOA_02,1,1,"{""id"": 3, ""alias"": ""Pessoa 02"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa02"", ""dependents"": 1, ""tax_number"": ""CPF_PESSOA_02"", ""accountNumber"": null, ""kimai_username"": ""pessoa02"", ""akaunting_contact_id"": 7}"
3+
2,Pessoa 01,pessoa01,6,CPF______01,0,1,"{""id"": 2, ""alias"": ""Pessoa 01"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa01"", ""dependents"": 0, ""tax_number"": ""CPF______01"", ""accountNumber"": null, ""kimai_username"": ""pessoa01"", ""akaunting_contact_id"": 6}"
4+
3,Pessoa 02,pessoa02,7,CPF______02,1,1,"{""id"": 3, ""alias"": ""Pessoa 02"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa02"", ""dependents"": 1, ""tax_number"": ""CPF______02"", ""accountNumber"": null, ""kimai_username"": ""pessoa02"", ""akaunting_contact_id"": 7}"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"id","alias","kimai_username","akaunting_contact_id","tax_number","dependents","enabled","peso","metadata"
22
1,admin,admin,,"12345678903",0,1,1,"{""id"": 1, ""alias"": ""admin"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""AD"", ""username"": ""admin"", ""dependents"": 0, ""tax_number"": ""12345678903"", ""accountNumber"": null, ""kimai_username"": ""admin"", ""akaunting_contact_id"": null}"
3-
2,Pessoa 01,pessoa01,6,CPF_PESSOA_01,0,1,1,"{""id"": 2, ""alias"": ""Pessoa 01"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa01"", ""dependents"": 0, ""tax_number"": ""CPF_PESSOA_01"", ""accountNumber"": null, ""kimai_username"": ""pessoa01"", ""akaunting_contact_id"": 6}"
4-
3,Pessoa 02,pessoa02,7,CPF_PESSOA_02,1,1,1,"{""id"": 3, ""alias"": ""Pessoa 02"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa02"", ""dependents"": 1, ""tax_number"": ""CPF_PESSOA_02"", ""accountNumber"": null, ""kimai_username"": ""pessoa02"", ""akaunting_contact_id"": 7}"
3+
2,Pessoa 01,pessoa01,6,CPF______01,0,1,1,"{""id"": 2, ""alias"": ""Pessoa 01"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa01"", ""dependents"": 0, ""tax_number"": ""CPF______01"", ""accountNumber"": null, ""kimai_username"": ""pessoa01"", ""akaunting_contact_id"": 6}"
4+
3,Pessoa 02,pessoa02,7,CPF______02,1,1,1,"{""id"": 3, ""alias"": ""Pessoa 02"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa02"", ""dependents"": 1, ""tax_number"": ""CPF______02"", ""accountNumber"": null, ""kimai_username"": ""pessoa02"", ""akaunting_contact_id"": 7}"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"id","alias","kimai_username","akaunting_contact_id","tax_number","dependents","enabled","peso","metadata"
22
1,admin,admin,,"12345678903",0,1,1,"{""id"": 1, ""alias"": ""admin"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""AD"", ""username"": ""admin"", ""dependents"": 0, ""tax_number"": ""12345678903"", ""accountNumber"": null, ""kimai_username"": ""admin"", ""akaunting_contact_id"": null}"
3-
2,Pessoa 01,pessoa01,6,CPF_PESSOA_01,0,1,1,"{""id"": 2, ""alias"": ""Pessoa 01"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa01"", ""dependents"": 0, ""tax_number"": ""CPF_PESSOA_01"", ""accountNumber"": null, ""kimai_username"": ""pessoa01"", ""akaunting_contact_id"": 6}"
4-
3,Pessoa 02,pessoa02,7,CPF_PESSOA_02,1,1,1,"{""id"": 3, ""alias"": ""Pessoa 02"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa02"", ""dependents"": 1, ""tax_number"": ""CPF_PESSOA_02"", ""accountNumber"": null, ""kimai_username"": ""pessoa02"", ""akaunting_contact_id"": 7}"
3+
2,Pessoa 01,pessoa01,6,CPF______01,0,1,1,"{""id"": 2, ""alias"": ""Pessoa 01"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa01"", ""dependents"": 0, ""tax_number"": ""CPF______01"", ""accountNumber"": null, ""kimai_username"": ""pessoa01"", ""akaunting_contact_id"": 6}"
4+
3,Pessoa 02,pessoa02,7,CPF______02,1,1,1,"{""id"": 3, ""alias"": ""Pessoa 02"", ""color"": null, ""email"": ""[email protected]"", ""title"": null, ""enabled"": true, ""initials"": ""P0"", ""username"": ""pessoa02"", ""dependents"": 1, ""tax_number"": ""CPF______02"", ""accountNumber"": null, ""kimai_username"": ""pessoa02"", ""akaunting_contact_id"": 7}"

0 commit comments

Comments
 (0)