Skip to content

Commit

Permalink
Removed test DSL from composer.json in order to fix phar build
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Dec 7, 2023
1 parent 5fb986d commit b9a1fbb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,7 @@
"Flow\\ETL\\Adapter\\Doctrine\\Tests\\": [
"src/adapter/etl-adapter-doctrine/tests/Flow/ETL/Adapter/Doctrine/Tests"
]
},
"files": [
"src/lib/rdsl/tests/Flow/RDSL/Tests/Fixtures/functions.php"
]
}
},
"config": {
"optimize-autoloader": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
use Flow\RDSL\Tests\Fixtures\IntObject;
use PHPUnit\Framework\TestCase;

require_once __DIR__ . '/../Fixtures/functions.php';

final class ExecutorTest extends TestCase
{
public function test_build_and_execute_dsl() : void
Expand Down
2 changes: 2 additions & 0 deletions src/lib/rdsl/tests/Flow/RDSL/Tests/Unit/DSLFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
use Flow\RDSL\Finder;
use PHPUnit\Framework\TestCase;

require_once __DIR__ . '/../Fixtures/functions.php';

final class DSLFinderTest extends TestCase
{
public function test_not_allowed_function_from_global_namespace_by_default() : void
Expand Down

0 comments on commit b9a1fbb

Please sign in to comment.