diff --git a/.travis.yml b/.travis.yml index a6f2109..7933c43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,4 @@ before_script: - flags="-o" - composer install $flags -script: phpunit +script: php ./vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist diff --git a/lib/RetailCrm/Methods/V5/Costs.php b/lib/RetailCrm/Methods/V5/Costs.php index 0b0306f..09f4f97 100644 --- a/lib/RetailCrm/Methods/V5/Costs.php +++ b/lib/RetailCrm/Methods/V5/Costs.php @@ -111,7 +111,8 @@ trait Costs /* @noinspection PhpUndefinedMethodInspection */ return $this->client->makeRequest( '/costs/delete', - "POST" + "POST", + ['ids' => json_encode($ids)] ); }