public function testUpload() { $result = $this->client->uploadProject(FUNCTIONAL_WRITER_ID); $this->assertArrayHasKey('status', $result); $this->assertEquals('success', $result['status']); $result = $this->client->uploadTable(FUNCTIONAL_WRITER_ID, 'out.c-main.categories'); $this->assertArrayHasKey('status', $result); $this->assertEquals('success', $result['status']); $result = $this->client->updateModel(FUNCTIONAL_WRITER_ID, 'out.c-main.categories'); $this->assertArrayHasKey('status', $result); $this->assertEquals('success', $result['status']); $result = $this->client->loadData(FUNCTIONAL_WRITER_ID, ['out.c-main.categories', 'out.c-main.products']); $this->assertArrayHasKey('status', $result); $this->assertEquals('success', $result['status']); }