protected function setUp() { parent::setUp(); $this->documentRepository = new DocumentRepository($this->getClient(), $this->getSerializer(), null, ClientVersionMap::VERSION_V1X); $this->indexRepository = new IndexRepository($this->getClient(), $this->getSerializer(), null, ClientVersionMap::VERSION_V1X); $this->catRepository = new CatRepository($this->getClient(), $this->getSerializer(), null, ClientVersionMap::VERSION_V1X); }
protected function setUp() { parent::setUp(); $this->documentRepository = new DocumentRepository($this->getClient(), $this->getSerializer(), null, ClientVersionMap::VERSION_V1X); $this->searchRepository = new SearchRepository($this->getClient(), $this->getSerializer(), null, ClientVersionMap::VERSION_V1X); $this->createSampleData(); }