public function testImportChromeWithRedisEnabled()
{
+ $this->checkRedis();
$this->logInAs('admin');
$client = $this->getClient();
$client->getContainer()->get('craue_config')->set('import_with_redis', 1);
$this->getLoggedInUserId()
);
- $this->assertEmpty($content->getMimetype());
$this->assertNotEmpty($content->getPreviewPicture());
$this->assertNotEmpty($content->getLanguage());
$this->assertEquals(0, count($content->getTags()));
+
+ $createdAt = $content->getCreatedAt();
+ $this->assertEquals('2011', $createdAt->format('Y'));
+ $this->assertEquals('07', $createdAt->format('m'));
}
public function testImportWallabagWithEmptyFile()