summaryrefslogtreecommitdiff
path: root/tests/Base.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fguillot@users.noreply.github.com>2014-04-26 14:41:19 -0400
committerFrédéric Guillot <fguillot@users.noreply.github.com>2014-04-26 14:41:19 -0400
commit3332949c8baae581ea70ce5c61bb2a6225100422 (patch)
tree74784e7291705b2238a21c0e647d0bee4db88a81 /tests/Base.php
parentbb1b4235cd9fd91d8756740cb9c44d40b20e97dc (diff)
Make unit tests compatible with PHP 5.3 and 5.4
Diffstat (limited to 'tests/Base.php')
-rw-r--r--tests/Base.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Base.php b/tests/Base.php
index 236d0000..4a0fe044 100644
--- a/tests/Base.php
+++ b/tests/Base.php
@@ -1,5 +1,9 @@
<?php
+if (version_compare(PHP_VERSION, '5.5.0', '<')) {
+ require __DIR__.'/../vendor/password.php';
+}
+
require_once __DIR__.'/../vendor/PicoDb/Database.php';
require_once __DIR__.'/../core/event.php';
require_once __DIR__.'/../core/translator.php';