summaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index ebf1ee7..adbe10b 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -66,7 +66,9 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
*/
public function getData($name)
{
- return unserialize(file_get_contents('tests/data/' . $name . '.out'));
+ $data = unserialize(file_get_contents('tests/data/' . $name . '.out'));
+ $data['query'] = file_get_contents('tests/data/' . $name . '.in');
+ return $data;
}
/**