mirror of
https://github.com/jbcr/sitemap-plugin.git
synced 2026-03-24 08:52:17 +01:00
28 lines
527 B
PHP
28 lines
527 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\SitemapPlugin\Controller;
|
|
|
|
final class SitemapStaticControllerApiTest extends AbstractTestController
|
|
{
|
|
use TearDownTrait;
|
|
|
|
/**
|
|
* @before
|
|
*/
|
|
public function setUpDatabase(): void
|
|
{
|
|
parent::setUpDatabase();
|
|
|
|
$this->generateSitemaps();
|
|
}
|
|
|
|
public function testShowActionResponse()
|
|
{
|
|
$response = $this->getBufferedResponse('/sitemap/static.xml');
|
|
|
|
$this->assertResponse($response, 'show_sitemap_static');
|
|
}
|
|
}
|