1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Added headers field in Entry

This commit is contained in:
Nicolas Lœuillet 2017-05-11 14:18:21 +02:00
parent 7987816d1e
commit dda6a6addc
No known key found for this signature in database
GPG key ID: 7A5E5FFCBA7EF402
4 changed files with 90 additions and 1 deletions

View file

@ -142,6 +142,7 @@ class EntryControllerTest extends WallabagCoreTestCase
$this->assertContains('Google', $content->getTitle());
$this->assertEquals('2015-03-28 15:37:39', $content->getPublishedAt()->format('Y-m-d H:i:s'));
$this->assertEquals('Morgane Tual', $author[0]);
$this->assertArrayHasKey('x-varnish1', $content->getHeaders());
}
public function testPostWithMultipleAuthors()