Skip to content
Snippets Groups Projects

full plugin mod for multiselection

Compare and Show latest version
1 file
+ 3
3
Preferences
Compare changes
@@ -139,7 +139,7 @@ class Admin_AlbumControllerListViewModeIndexTest extends Admin_AlbumControllerLi
/** @test */
public function breadcumbShouldContainsAddAction() {
$this->assertXPathContentContains('//div[@style="font-size:140%;"]//a[contains(@href, "admin/album/add_categorie")]', 'img', $this->_response->getBody());
$this->assertXPathContentContains('//div//a[contains(@href, "admin/album/add_categorie")]', 'img', $this->_response->getBody());
}
@@ -262,14 +262,14 @@ class Admin_AlbumControllerListViewModeIndexSubCategoriesTest extends Admin_Albu
/** @test */
public function withCatId3breadcumbShouldContainsParentCat() {
$this->dispatch('admin/album/index/cat_id/3', true);
$this->assertXPathContentContains('//div[@style="font-size:140%;"]', 'Cat with children', $this->_response->getBody());
$this->assertXPathContentContains('//div', 'Cat with children', $this->_response->getBody());
}
/** @test */
public function withCatId4breadcumbShouldContainsParentsCat() {
$this->dispatch('admin/album/index/cat_id/4', true);
$this->assertXPathContentContains('//div[@style="font-size:140%;"]', 'Cat with children', $this->_response->getBody());
$this->assertXPathContentContains('//div', 'Cat with children', $this->_response->getBody());
}