Refactored and fixed test suite to run async tests
This commit is contained in:
parent
cc5625067a
commit
308d771dd1
6 changed files with 43 additions and 5 deletions
8
build/test/data/json.php
Normal file
8
build/test/data/json.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
$json = $_REQUEST['json'];
|
||||
if($json) {
|
||||
echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';
|
||||
} else {
|
||||
echo '{ "data": {"lang": "en", "length": 25} }';
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue