Add Articles tests

This commit is contained in:
Jonny Barnes 2017-02-18 13:19:34 +00:00
parent 0e97512f61
commit b84f8278b6
2 changed files with 83 additions and 0 deletions

View file

@ -0,0 +1,22 @@
<?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');
}
}