All Data Structures Functions Variables Pages
Static Public Member Functions
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.

Parameters
OwnedSecurableItem$model
Returns
array

Definition at line 58 of file ApiRestTestHelper.php.


The documentation for this class was generated from the following file:
Generated on Tue Mar 31 2020 07:10:49