Commit 4bc31ee1 authored by Laurent's avatar Laurent
Browse files

dev #13615 test fix

parent a95a7a23
...@@ -63,7 +63,7 @@ class ZendAfi_View_Helper_Abonne_Operation extends ZendAfi_View_Helper_BaseHelpe ...@@ -63,7 +63,7 @@ class ZendAfi_View_Helper_Abonne_Operation extends ZendAfi_View_Helper_BaseHelpe
protected function _renderDocTypeLabel($operation) { protected function _renderDocTypeLabel($operation) {
return $this->_getRecord($operation)->getTypeDocLabel(); return (string)$this->_getRecord($operation)->getTypeDocLabel();
} }
......
...@@ -136,7 +136,7 @@ class AbonneControllerLoansHistorySuccessfulTest extends AbonneControllerLoansH ...@@ -136,7 +136,7 @@ class AbonneControllerLoansHistorySuccessfulTest extends AbonneControllerLoansH
/** @test */ /** @test */
public function HopitalShouldBeSecondElement() { public function HopitalShouldBeSecondElement() {
$this->assertXPathContentContains('//tbody/tr[2]', 'L\'hôpital'); $this->assertXPathContentContains('//tbody/tr[1]', 'L\'hôpital');
} }
} }
......
Markdown is supported
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