Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EcomDev_PHPUnit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open
EcomDev_PHPUnit
Commits
2fb65f5e
Commit
2fb65f5e
authored
Feb 13, 2012
by
Ivan Chepurnyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
! Fix incompatibility with the latest PHPUNIT 3.6.x
parent
5554e0b8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
lib/EcomDev/PHPUnit/Constraint/Config/Node.php
lib/EcomDev/PHPUnit/Constraint/Config/Node.php
+3
-3
lib/EcomDev/PHPUnit/Constraint/Layout/Abstract.php
lib/EcomDev/PHPUnit/Constraint/Layout/Abstract.php
+0
-4
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Property.php
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Property.php
+1
-1
No files found.
lib/EcomDev/PHPUnit/Constraint/Config/Node.php
View file @
2fb65f5e
...
...
@@ -183,7 +183,7 @@ class EcomDev_PHPUnit_Constraint_Config_Node
throw
new
RuntimeException
(
sprintf
(
'Expected value is not an xml string for node %s, passed expected value: %s, parsing error: %s'
,
$this
->
_nodePath
,
PHPUnit_Util_Type
::
toString
(
$this
->
_expectedValue
),
PHPUnit_Util_Type
::
export
(
$this
->
_expectedValue
),
$e
->
getMessage
()
));
}
...
...
@@ -268,7 +268,7 @@ class EcomDev_PHPUnit_Constraint_Config_Node
throw
new
RuntimeException
(
sprintf
(
'Config node "%s" is not a string of comma separated values, passed expected value: %s'
,
$this
->
_nodePath
,
PHPUnit_Util_Type
::
toString
(
$this
->
_expectedValue
)
PHPUnit_Util_Type
::
export
(
$this
->
_expectedValue
)
));
}
...
...
@@ -289,7 +289,7 @@ class EcomDev_PHPUnit_Constraint_Config_Node
protected
function
textContainValue
()
{
return
sprintf
(
'contains "%s" in comma separated value list'
,
PHPUnit_Util_Type
::
toString
(
$this
->
_expectedValue
));
PHPUnit_Util_Type
::
export
(
$this
->
_expectedValue
));
}
/**
...
...
lib/EcomDev/PHPUnit/Constraint/Layout/Abstract.php
View file @
2fb65f5e
...
...
@@ -43,10 +43,6 @@ abstract class EcomDev_PHPUnit_Constraint_Layout_Abstract extends EcomDev_PHPUni
protected
function
getActualValue
(
$other
)
{
if
(
$this
->
_useActualValue
)
{
if
(
is_array
(
$this
->
_actualValue
))
{
return
PHPUnit_Util_Type
::
toString
(
$this
->
_actualValue
);
}
return
parent
::
getActualValue
(
$other
);
}
...
...
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Property.php
View file @
2fb65f5e
...
...
@@ -86,7 +86,7 @@ class EcomDev_PHPUnit_Constraint_Layout_Block_Property
$value
=
$this
->
_actualValue
;
}
return
PHPUnit_Util_Type
::
toString
(
$value
)
;
return
$value
;
}
return
''
;
...
...
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