Skip to content

Commit b8ef32c

Browse files
committed
require Expressions by default
otherwise, when running tests on their own they would miss the Expressions class
1 parent 6783edb commit b8ef32c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

ActiveRecord.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
require __DIR__.'/lib/ConnectionManager.php';
1717
require __DIR__.'/lib/Connection.php';
1818
require __DIR__.'/lib/Serialization.php';
19+
require __DIR__.'/lib/Expressions.php';
1920
require __DIR__.'/lib/SQLBuilder.php';
2021
require __DIR__.'/lib/Reflections.php';
2122
require __DIR__.'/lib/Inflector.php';

test/ExpressionsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
require_once __DIR__ . '/../lib/Expressions.php';
32

43
use ActiveRecord\Expressions;
54
use ActiveRecord\ConnectionManager;

0 commit comments

Comments
 (0)