Skip to content
Snippets Groups Projects
Commit c9193658 authored by Ghislo's avatar Ghislo
Browse files

plugins_for_controllers fix tests failures

parent 7c1956d4
Branches
Tags
5 merge requests!2080Sandbox detach zf from storm,!2061Master,!1989Dev#45275 3155 contractuel application nouvelle methode d edition par lot des articles aux collections,!1968full plugin mod for multiselection,!1959Dev#45275 3155 contractuel application nouvelle methode d edition par lot des articles aux collections
Pipeline #80 failed with stage
in 8 minutes and 48 seconds
......@@ -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());
}
......
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