Skip to content

Commit

Permalink
Merge pull request #284 from fetch/test-require-fix
Browse files Browse the repository at this point in the history
Using __DIR__ in require_once, to fix travis errors
  • Loading branch information
jpfuentes2 committed Apr 15, 2013
2 parents 17eb9c6 + f8220bf commit 9610017
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/ExpressionsTest.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;
Expand Down
2 changes: 1 addition & 1 deletion test/SerializationTest.php
@@ -1,6 +1,6 @@
<?php
include 'helpers/config.php';
require '../lib/Serialization.php';
require_once __DIR__ . '/../lib/Serialization.php';

use ActiveRecord\DateTime;

Expand Down
2 changes: 1 addition & 1 deletion test/helpers/DatabaseTest.php
@@ -1,5 +1,5 @@
<?php
require_once 'DatabaseLoader.php';
require_once __DIR__ . '/DatabaseLoader.php';

class DatabaseTest extends SnakeCase_PHPUnit_Framework_TestCase
{
Expand Down

0 comments on commit 9610017

Please sign in to comment.