diff --git a/Tests/Fixtures/Project/app/AppKernel.php b/Tests/Fixtures/Project/app/AppKernel.php index a9f6d0b..2d4cd4c 100644 --- a/Tests/Fixtures/Project/app/AppKernel.php +++ b/Tests/Fixtures/Project/app/AppKernel.php @@ -1,9 +1,17 @@ mainBundle.'/'.$dirname; - // var_dump($dir); - // die; return $dir; } } diff --git a/behat.yml b/behat.yml index 6a22912..ba9c7f4 100644 --- a/behat.yml +++ b/behat.yml @@ -14,5 +14,6 @@ default: kernel: env: test debug: true + class: Worldia\Bundle\TextmasterBundle\Tests\Fixtures\Project\app\AppKernel path: Tests/Fixtures/Project/app/AppKernel.php bootstrap: Tests/Fixtures/Project/app/bootstrap.php diff --git a/composer.json b/composer.json index 2abdf33..4da89f4 100644 --- a/composer.json +++ b/composer.json @@ -14,20 +14,20 @@ "require": { "php": ">=7.0", "worldia/textmaster-api": "^1.0", - "symfony/framework-bundle": "^3.2", - "symfony/property-access": "^3.2", - "symfony/validator": "^3.2", - "symfony/security-csrf": "^3.2", - "symfony/form": "^3.2", + "symfony/framework-bundle": "^3.2|^4.0", + "symfony/property-access": "^3.2|^4.0", + "symfony/validator": "^3.2|^4.0", + "symfony/security-csrf": "^3.2|^4.0", + "symfony/form": "^3.2|^4.0", "doctrine/orm": "^2.5", "doctrine/doctrine-bundle": "^1.5" }, "require-dev": { "phpunit/phpunit": "^6.0", - "symfony/browser-kit": "^3.2", - "symfony/twig-bundle": "^3.2", - "symfony/templating": "^3.2", - "symfony/asset": "^3.2", + "symfony/browser-kit": "^3.2|^4.0", + "symfony/twig-bundle": "^3.2|^4.0", + "symfony/templating": "^3.2|^4.0", + "symfony/asset": "^3.2|^4.0", "matthiasnoback/symfony-config-test": "^3.0", "matthiasnoback/symfony-dependency-injection-test": "^2.0", "behat/symfony2-extension": "2.1.*", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9f25509..6e8338f 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -10,6 +10,7 @@ +