git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b11896
)
another attempt at fixing tests
author
gggeek
<giunta.gaetano@gmail.com>
Sat, 20 Jan 2018 14:42:30 +0000
(14:42 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Sat, 20 Jan 2018 14:42:30 +0000
(14:42 +0000)
tests/1ParsingBugsTest.php
patch
|
blob
|
history
diff --git
a/tests/1ParsingBugsTest.php
b/tests/1ParsingBugsTest.php
index
1e4b040
..
e4e9b5a
100644
(file)
--- a/
tests/1ParsingBugsTest.php
+++ b/
tests/1ParsingBugsTest.php
@@
-618,7
+618,7
@@
and there they were.</value></member><member><name>postid</name><value>7414222</
foreach($v1 as $key => $val)
{
- $this->assert
Contains
($key, $out);
+ $this->assert
ArrayHasKey
($key, $out);
$expected = $out[$key];
if (gettype($expected['value']) == 'array') {
$this->assertequals('array', gettype($val));