Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
bibliossimo
opacce
Commits
4bc31ee1
Commit
4bc31ee1
authored
Dec 12, 2017
by
Laurent
Browse files
dev #13615 test fix
parent
a95a7a23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
library/ZendAfi/View/Helper/Abonne/Operation.php
library/ZendAfi/View/Helper/Abonne/Operation.php
+1
-1
tests/application/modules/opac/controllers/AbonneControllerLoansHistoryTest.php
...les/opac/controllers/AbonneControllerLoansHistoryTest.php
+1
-1
No files found.
library/ZendAfi/View/Helper/Abonne/Operation.php
View file @
4bc31ee1
...
@@ -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
();
}
}
...
...
tests/application/modules/opac/controllers/AbonneControllerLoansHistoryTest.php
View file @
4bc31ee1
...
@@ -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'
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment