for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\CoreBundle\Tests\Controller;
use Lakion\ApiTestCase\XmlApiTestCase;
/**
* @author Arkadiusz Krakowiak <[email protected]>
class SitemapControllerApiTest extends XmlApiTestCase
{
public function testShowActionResponse()
$this->loadFixturesFromFile('resources/product.yml');
$this->client->request('GET', '/sitemap.xml');
$response = $this->client->getResponse();
$this->assertResponse($response, 'sitemap/show_sitemap');
}