ApiRestTestHelper Class Reference

Static Public Member Functions

static createApiCall ($url, $method, $headers, $data=array())
static createXmlApiCall ($url, $method, $headers, $data=array())
static getModelAttributes (RedBeanModel $model)

Detailed Description

REST API helper class.

Definition at line 39 of file ApiRestTestHelper.php.

Member Function Documentation

static getModelAttributes ( RedBeanModel model  )  [static]

Helper function to get all model attributes as an array, that we can compare with responses from API.

OwnedSecurableItem $model

Definition at line 58 of file ApiRestTestHelper.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Jan 19 07:10:52 2020