Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Dec 4, 2024
1 parent 9a68a60 commit cd375aa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tests/php/Command/MakeProducaoCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ public static function providerScenarios(): array
'2023-08',
<<<CSV
akaunting_contact_id,auxilio,base_irpf,base_producao,bruto,dependentes,document_number,peso,frra,health_insurance,inss,irpf,adiantamento,liquido,name,tax_number
6,9685,33287.139333333,48425,34704.583333333,0,,1,4035.4166666667,0,1417.444,8269.0033166667,0,34703.136016667,"Pessoa 01",CPF_PESSOA_01
6,9685,33287.139333333,48425,34704.583333333,0,,1,4035.4166666667,0,1417.444,8269.0033166667,0,34703.136016667,"Pessoa 01",CPF______01
CSV
],
'recebe_metade' => [
'recebe_metade',
'2023-08',
<<<CSV
akaunting_contact_id,auxilio,base_irpf,base_producao,bruto,dependentes,document_number,peso,frra,health_insurance,inss,irpf,adiantamento,liquido,name,tax_number
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
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
CSV
],
];
Expand Down
4 changes: 2 additions & 2 deletions tests/php/Fixtures/dataset/completo/users.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"id","alias","kimai_username","akaunting_contact_id","tax_number","dependents","enabled","metadata"
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}"
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}"
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}"
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}"
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}"
4 changes: 2 additions & 2 deletions tests/php/Fixtures/dataset/recebe_metade/users.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"id","alias","kimai_username","akaunting_contact_id","tax_number","dependents","enabled","peso","metadata"
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}"
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}"
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}"
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}"
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}"
4 changes: 2 additions & 2 deletions tests/php/Fixtures/dataset/recebe_tudo/users.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"id","alias","kimai_username","akaunting_contact_id","tax_number","dependents","enabled","peso","metadata"
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}"
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}"
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}"
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}"
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 comments on commit cd375aa

Please sign in to comment.