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
(from parent 1:
428236a
)
Try fixing test case for hhvm
author
gggeek
<giunta.gaetano@gmail.com>
Fri, 3 Apr 2015 00:06:53 +0000
(
01:06
+0100)
committer
gggeek
<giunta.gaetano@gmail.com>
Fri, 3 Apr 2015 00:06:53 +0000
(
01:06
+0100)
tests/5DemofilesTest.php
patch
|
blob
|
history
diff --git
a/tests/5DemofilesTest.php
b/tests/5DemofilesTest.php
index
8f790d3
..
4e79053
100644
(file)
--- a/
tests/5DemofilesTest.php
+++ b/
tests/5DemofilesTest.php
@@
-146,13
+146,13
@@
class DemoFilesTest extends PHPUnit_Framework_TestCase
{
$page = $this->request('server/discuss.php');
$this->assertContains('<name>faultCode</name>', $page);
- $this->assert
Contains('<int>105</int>
', $page);
+ $this->assert
Regexp('#<int>10(5|3)</int>#
', $page);
}
public function testProxyServer()
{
$page = $this->request('server/proxy.php');
$this->assertContains('<name>faultCode</name>', $page);
- $this->assert
Contains('<int>105</int>
', $page);
+ $this->assert
Regexp('#<int>10(5|3)</int>#
', $page);
}
}