mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 09:30:58 +00:00
30 lines
736 B
PHP
30 lines
736 B
PHP
<?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 <arkadiusz.krakowiak@lakion.com>
|
|
*/
|
|
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');
|
|
}
|
|
}
|