Skip to content
Snippets Groups Projects
Commit 6b67b8fb authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

hotline #60731 : fix tests

parent 878d91b4
Branches
Tags
2 merge requests!2409Master,!2398Hotline#60731 probleme titres pnb
Pipeline #2878 failed with stage
in 21 minutes and 18 seconds
......@@ -233,14 +233,20 @@ class AlbumControllerDilicomPNBImportDilicomTest extends Admin_AlbumControllerDi
/** @test */
public function orderDateShouldContains2015_08_29() {
$this->assertXPathContentContains('//table//tr/td', '2015-08-29');
public function orderDateShouldContains29_08_2015() {
$this->assertXPathContentContains('//table//tr/td', '29/08/2015');
}
/** @test */
public function exportCSVAnchorShouldBePresent() {
$this->assertXPathContentContains('//div[@class="modules"]/a[contains(@href, "/admin/album/dilicom-export-csv")]', 'Exporter le tableau en CSV');
public function exportCSVButtonShouldBePresent() {
$this->assertXPathContentContains('//div[@class="modules"]/button[contains(@data-url, "/admin/album/dilicom-export-csv")]', 'Exporter le tableau en CSV');
}
/** @test */
public function exportCSVLoansButtonShouldBePresent() {
$this->assertXPathContentContains('//div[@class="modules"]/button[contains(@data-url, "/admin/album/dilicom-export-loans-csv")]', 'Exporter l\'historique des prêts en CSV');
}
......
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