Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public function testContent()
{
$content = $this->getEm()->getRepository('StoreLocatorBundle:StoreLocatorContent')->findOneBy(array(
'storeLocator' => $this->storeLocator->getId(),
));
$url = $this->getUrl('content_test', array(
'content_id' => $content->getId(),
'site_id' => 1,
'_allow_base_site' => 1,
));
$client = $this->makeClient();
$crawler = $client->request('GET', $url);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.