public function setUp() { parent::setUp(); if (!isset($this->auth) || !isset($this->client)) { $this->auth = $this->getAuth(); $this->client = $this->getClient(); } if (!$this->skipCreate && !isset($this->createModel)) { $data = $this->data; $model = new $this->model($this->client); $this->createModel = $model->create(call_user_func([Data::class, $data], 'create')); $this->assertEquals(200, $model->getResponse()->getStatusCode()); } }
public function setUp() { parent::setUp(); $this->auth = $this->getAuth(); }