Skip to content

Commit

Permalink
micro fix
Browse files Browse the repository at this point in the history
  • Loading branch information
francescobianco committed Apr 7, 2022
1 parent c55e3ee commit 89f3c18
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/VtigerClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ public function testDescribeWithAllDepth()
$actualFields[] = $field['name'];
}
sort($actualFields);
//file_put_contents($stubFile, json_encode($actual, JSON_PRETTY_PRINT));
//file_put_contents($stubFieldsFile, json_encode($actualFields, JSON_PRETTY_PRINT));
file_put_contents($stubFile, json_encode($actual, JSON_PRETTY_PRINT));
file_put_contents($stubFieldsFile, json_encode($actualFields, JSON_PRETTY_PRINT));
$this->assertEquals($expected, $actual);
$this->assertEquals($expectedFields, $actualFields);
}
Expand Down
3 changes: 3 additions & 0 deletions tests/fixtures/describeFieldsQuotesWithDepth1.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@
"productid__tax1",
"productid__tax2",
"productid__tax3",
"productid__tax4",
"productid__tax5 (UPDATED)",
"productid__tax6",
"productid__taxclass",
"productid__unit_price",
"productid__usageunit",
Expand Down
33 changes: 33 additions & 0 deletions tests/fixtures/describeQuotesWithDepth1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7925,6 +7925,39 @@
"mandatory": "",
"default": "12.500"
},
{
"name": "productid__tax4",
"label": "",
"type": {
"name": "double"
},
"nullable": "1",
"editable": "1",
"mandatory": "",
"default": "0.000"
},
{
"name": "productid__tax5 (UPDATED)",
"label": "",
"type": {
"name": "double"
},
"nullable": "1",
"editable": "1",
"mandatory": "",
"default": "0.000"
},
{
"name": "productid__tax6",
"label": "",
"type": {
"name": "double"
},
"nullable": "1",
"editable": "1",
"mandatory": "",
"default": "0.000"
},
{
"name": "productid__currency1",
"label": "Euro EUR",
Expand Down

0 comments on commit 89f3c18

Please sign in to comment.