From 0e07d8119c233b3ac3f624cef6e0b3207baef3e0 Mon Sep 17 00:00:00 2001 From: Alexander Prokhorov Date: Sun, 7 Jun 2015 04:42:33 +0300 Subject: [PATCH] Fixed build (added autoloader to tests). --- Tests/Unit/EnumerableTest.php | 1 + Tests/Unit/FunctionsTest.php | 1 + Tests/Unit/LinqTest.php | 2 ++ Tests/Unit/OrderedEnumerableTest.php | 1 + Tests/Unit/UtilsTest.php | 1 + 5 files changed, 6 insertions(+) diff --git a/Tests/Unit/EnumerableTest.php b/Tests/Unit/EnumerableTest.php index aadb14e..669c736 100644 --- a/Tests/Unit/EnumerableTest.php +++ b/Tests/Unit/EnumerableTest.php @@ -2,6 +2,7 @@ namespace Tests\Unit; +require_once __DIR__ . '/../../YaLinqo/Linq.php'; use YaLinqo\Enumerable as E, YaLinqo\Utils, YaLinqo\Functions, Tests\Stubs\AggregateIteratorWrapper; /** @covers YaLinqo\Enumerable diff --git a/Tests/Unit/FunctionsTest.php b/Tests/Unit/FunctionsTest.php index f8e568f..0535660 100644 --- a/Tests/Unit/FunctionsTest.php +++ b/Tests/Unit/FunctionsTest.php @@ -2,6 +2,7 @@ namespace Tests\Unit; +require_once __DIR__ . '/../../YaLinqo/Linq.php'; use YaLinqo\Functions as F; /** @covers YaLinqo\Functions diff --git a/Tests/Unit/LinqTest.php b/Tests/Unit/LinqTest.php index 619a4e4..2b5a936 100644 --- a/Tests/Unit/LinqTest.php +++ b/Tests/Unit/LinqTest.php @@ -2,6 +2,8 @@ namespace Tests\Unit; +require_once __DIR__ . '/../../YaLinqo/Linq.php'; + class LinqTest extends \PHPUnit_Framework_TestCase { function testFunctions () diff --git a/Tests/Unit/OrderedEnumerableTest.php b/Tests/Unit/OrderedEnumerableTest.php index 684ee58..a598db6 100644 --- a/Tests/Unit/OrderedEnumerableTest.php +++ b/Tests/Unit/OrderedEnumerableTest.php @@ -2,6 +2,7 @@ namespace Tests\Unit; +require_once __DIR__ . '/../../YaLinqo/Linq.php'; use YaLinqo\Enumerable as E, YaLinqo\OrderedEnumerable as OE, YaLinqo\Utils, YaLinqo\Functions; /** @covers YaLinqo\OrderedEnumerable diff --git a/Tests/Unit/UtilsTest.php b/Tests/Unit/UtilsTest.php index 230ed2b..4481599 100644 --- a/Tests/Unit/UtilsTest.php +++ b/Tests/Unit/UtilsTest.php @@ -2,6 +2,7 @@ namespace Tests\Unit; +require_once __DIR__ . '/../../YaLinqo/Linq.php'; use Tests\Stubs\Temp; use YaLinqo\Utils as U;