/** * @test * @codeCoverageIgnore * @depends createWebhookWithUrl * @depends getOneWebhook * @depends updateWebhook */ public function deleteWebhook($model) { $this->_model->setId($model->getId()); $result = $this->_service->delete($this->_model); $this->markTestIncomplete('Webhook does not return a empty array like the other resources. Returns Null instead!'); $this->assertInternalType('array', $result, var_export($result, true)); }
/** * @test * @codeCoverageIgnore * @depends createWebhookWithUrl * @depends getOneWebhook * @depends updateWebhook */ public function deleteWebhook($model) { $this->_model->setId($model->getId()); $result = $this->_service->delete($this->_model); $this->assertInternalType('array', $result, var_export($result, true)); }