/** * @test * @group websitesrepo */ public function should_return_fully_websites() { $sites = $this->websiteRepo->full(); $this->assertCount(10, $sites); }
/** * Returns a list of websites with fields loaded fully (JMS\Groups({"full"})) * @return mixed */ public function full() { $websites = $this->websitesRepository->full(); return $websites; }