jonnybarnes.uk/tests/Feature/ArticlesRSSTest.php
2017-02-18 13:19:34 +00:00

22 lines
490 B
PHP

<?php
namespace Tests\Feature;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ArticlesRSSTest extends TestCase
{
/**
* Test the RSS feed.
*
* @return void
*/
public function test_rss_feed()
{
$response = $this->get('/feed');
$response->assertHeader('Content-Type', 'application/rss+xml');
}
}