1
0
mirror of synced 2024-11-21 21:06:07 +03:00

Fix CostsDelete method (#62)

* change phpunit call to prevent of using global configuration
* fix CostsDelete method
This commit is contained in:
Alex Lushpai 2018-03-06 14:01:00 +03:00 committed by GitHub
parent 1826dd57d6
commit 2e4e24f507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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)]
); );
} }