Skip to content
Snippets Groups Projects
Commit 41aeca8a authored by llaffont's avatar llaffont
Browse files

Album audio record Rss feed: take the deduced title from filename

parent edb89291
Branches
Tags
1 merge request!2Audio Record Index
......@@ -72,7 +72,7 @@ class ZendAfi_View_Helper_Album_RssFeedVisitor extends Zend_View_Helper_Abstrac
$media_url = $this->view->album_PlayRessourceUrl($ressource);
$this->appendTags($item = $this->appendTag($this->_channel, 'item'),
['title' => $ressource->getTitre(),
['title' => $ressource->findTitle(),
'link' => $media_url,
'itunes:order' => $ressource->getOrdre(),
'guid' => $media_url]);
......
......@@ -869,6 +869,13 @@ class BibNumeriqueControllerAlbumMultiMediasRSSTest extends BibNumeriqueControll
'2');
}
/** @test */
public function seventhItemTitleShouldBeTheProphecy() {
$this->_xpath->assertXPathContentContains($this->_response->getBody(),
'//channel/item[7]/title',
'The prophecy');
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment