Permalink
Browse files

Merge pull request #284 from fetch/test-require-fix

Using __DIR__ in require_once, to fix travis errors
  • Loading branch information...
2 parents 17eb9c6 + f8220bf commit 96100175f2c268648a6b9fad3157620a6a6649d1 @jpfuentes2 committed Apr 15, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 test/ExpressionsTest.php
  2. +1 −1 test/SerializationTest.php
  3. +1 −1 test/helpers/DatabaseTest.php
@@ -1,6 +1,6 @@
<?php
include 'helpers/config.php';
-require '../lib/Expressions.php';
+require_once __DIR__ . '/../lib/Expressions.php';
use ActiveRecord\Expressions;
use ActiveRecord\ConnectionManager;
@@ -1,6 +1,6 @@
<?php
include 'helpers/config.php';
-require '../lib/Serialization.php';
+require_once __DIR__ . '/../lib/Serialization.php';
use ActiveRecord\DateTime;
@@ -1,5 +1,5 @@
<?php
-require_once 'DatabaseLoader.php';
+require_once __DIR__ . '/DatabaseLoader.php';
class DatabaseTest extends SnakeCase_PHPUnit_Framework_TestCase
{

0 comments on commit 9610017

Please sign in to comment.