git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
another attempt at fixing tests
[plcapi.git]
/
tests
/
1ParsingBugsTest.php
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));