Fix CostsDelete method (#62)
* change phpunit call to prevent of using global configuration * fix CostsDelete method
This commit is contained in:
parent
1826dd57d6
commit
2e4e24f507
@ -16,4 +16,4 @@ before_script:
|
|||||||
- flags="-o"
|
- flags="-o"
|
||||||
- composer install $flags
|
- composer install $flags
|
||||||
|
|
||||||
script: phpunit
|
script: php ./vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
|
||||||
|
@ -111,7 +111,8 @@ trait Costs
|
|||||||
/* @noinspection PhpUndefinedMethodInspection */
|
/* @noinspection PhpUndefinedMethodInspection */
|
||||||
return $this->client->makeRequest(
|
return $this->client->makeRequest(
|
||||||
'/costs/delete',
|
'/costs/delete',
|
||||||
"POST"
|
"POST",
|
||||||
|
['ids' => json_encode($ids)]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user