diff --git a/codeception.yml b/codeception.yml deleted file mode 100644 index 3007d95c709ef016381731ef3246e37834fc3ef7..0000000000000000000000000000000000000000 --- a/codeception.yml +++ /dev/null @@ -1,13 +0,0 @@ -namespace: App\Tests -paths: - tests: tests - output: tests/_output - data: tests/_data - support: tests/_support - envs: tests/_envs -actor_suffix: Tester -extensions: - enabled: - - Codeception\Extension\RunFailed -params: - - .env diff --git a/composer.json b/composer.json index 8ab9d091175e10cb436150e24a122c08c392ee59..43bd7d3055dd29a25cb03c21729ddd977cf0fe95 100644 --- a/composer.json +++ b/composer.json @@ -55,9 +55,6 @@ "require-dev": { "dama/doctrine-test-bundle": "^6.7", "doctrine/doctrine-fixtures-bundle": "^3.4", - "codeception/module-asserts": "^1.3", - "codeception/module-phpbrowser": "^1.0", - "codeception/module-symfony": "^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan": "^1.2", "phpstan/phpstan-doctrine": "^1.0", diff --git a/symfony.lock b/symfony.lock index e49481a448200a98e8a78c4885acf78e84dc50fc..03a9f2f556052627103e4ba6aed047e807a9b128 100644 --- a/symfony.lock +++ b/symfony.lock @@ -1,55 +1,4 @@ { - "behat/gherkin": { - "version": "v4.9.0" - }, - "codeception/codeception": { - "version": "4.1", - "recipe": { - "repo": "github.com/symfony/recipes-contrib", - "branch": "master", - "version": "2.3", - "ref": "30798e46831f4fc641fca83c0423918518901cd7" - }, - "files": [ - "codeception.yml", - "tests/_data/.gitignore", - "tests/_output/.gitignore", - "tests/_support/AcceptanceTester.php", - "tests/_support/FunctionalTester.php", - "tests/_support/Helper/Acceptance.php", - "tests/_support/Helper/Functional.php", - "tests/_support/Helper/Unit.php", - "tests/_support/UnitTester.php", - "tests/_support/_generated/.gitignore", - "tests/acceptance.suite.yml", - "tests/acceptance/.gitignore", - "tests/functional.suite.yml", - "tests/functional/.gitignore", - "tests/unit.suite.yml", - "tests/unit/.gitignore" - ] - }, - "codeception/lib-asserts": { - "version": "1.13.2" - }, - "codeception/lib-innerbrowser": { - "version": "1.5.1" - }, - "codeception/module-asserts": { - "version": "1.3.1" - }, - "codeception/module-phpbrowser": { - "version": "1.0.2" - }, - "codeception/module-symfony": { - "version": "2.0.5" - }, - "codeception/phpunit-wrapper": { - "version": "9.0.6" - }, - "codeception/stub": { - "version": "3.7.0" - }, "composer/package-versions-deprecated": { "version": "1.11.99.4" }, @@ -172,15 +121,6 @@ "gregwar/captcha-bundle": { "version": "v2.1.5" }, - "guzzlehttp/guzzle": { - "version": "7.4.0" - }, - "guzzlehttp/promises": { - "version": "1.5.1" - }, - "guzzlehttp/psr7": { - "version": "2.1.0" - }, "laminas/laminas-code": { "version": "4.4.3" }, @@ -261,24 +201,12 @@ "psr/event-dispatcher": { "version": "1.0.0" }, - "psr/http-client": { - "version": "1.0.1" - }, - "psr/http-factory": { - "version": "1.0.1" - }, - "psr/http-message": { - "version": "1.0.1" - }, "psr/link": { "version": "1.0.0" }, "psr/log": { "version": "1.1.4" }, - "ralouphie/getallheaders": { - "version": "3.0.3" - }, "sebastian/cli-parser": { "version": "1.0.1" }, diff --git a/tests/_data/.gitignore b/tests/_data/.gitignore deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/tests/_output/.gitignore b/tests/_output/.gitignore deleted file mode 100644 index d6b7ef32c8478a48c3994dcadc86837f4371184d..0000000000000000000000000000000000000000 --- a/tests/_output/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/tests/_support/AcceptanceTester.php b/tests/_support/AcceptanceTester.php deleted file mode 100644 index 322ea12605e9abd3036cd047a9baa99db5de9138..0000000000000000000000000000000000000000 --- a/tests/_support/AcceptanceTester.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -namespace App\Tests; - -/** - * Inherited Methods - * @method void wantToTest($text) - * @method void wantTo($text) - * @method void execute($callable) - * @method void expectTo($prediction) - * @method void expect($prediction) - * @method void amGoingTo($argumentation) - * @method void am($role) - * @method void lookForwardTo($achieveValue) - * @method void comment($description) - * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL) - * - * @SuppressWarnings(PHPMD) -*/ -class AcceptanceTester extends \Codeception\Actor -{ - use _generated\AcceptanceTesterActions; - - /** - * Define custom actions here - */ -} diff --git a/tests/_support/FunctionalTester.php b/tests/_support/FunctionalTester.php deleted file mode 100644 index 0846edd6a83f12c42e395624bc908d04c0359644..0000000000000000000000000000000000000000 --- a/tests/_support/FunctionalTester.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -namespace App\Tests; - -/** - * Inherited Methods - * @method void wantToTest($text) - * @method void wantTo($text) - * @method void execute($callable) - * @method void expectTo($prediction) - * @method void expect($prediction) - * @method void amGoingTo($argumentation) - * @method void am($role) - * @method void lookForwardTo($achieveValue) - * @method void comment($description) - * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL) - * - * @SuppressWarnings(PHPMD) -*/ -class FunctionalTester extends \Codeception\Actor -{ - use _generated\FunctionalTesterActions; - - /** - * Define custom actions here - */ -} diff --git a/tests/_support/Helper/Acceptance.php b/tests/_support/Helper/Acceptance.php deleted file mode 100644 index ca88b8464c9c4119a0874319a45ad88303f3a830..0000000000000000000000000000000000000000 --- a/tests/_support/Helper/Acceptance.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php - -namespace App\Tests\Helper; - -// here you can define custom actions -// all public methods declared in helper class will be available in $I - -class Acceptance extends \Codeception\Module -{ - -} diff --git a/tests/_support/Helper/Functional.php b/tests/_support/Helper/Functional.php deleted file mode 100644 index df548c8838ea9b2b9f44997137ed01fa2332b688..0000000000000000000000000000000000000000 --- a/tests/_support/Helper/Functional.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php - -namespace App\Tests\Helper; - -// here you can define custom actions -// all public methods declared in helper class will be available in $I - -class Functional extends \Codeception\Module -{ - -} diff --git a/tests/_support/Helper/Unit.php b/tests/_support/Helper/Unit.php deleted file mode 100644 index d00d8698b070e6ea4294dd8641df69ee789d808b..0000000000000000000000000000000000000000 --- a/tests/_support/Helper/Unit.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php - -namespace App\Tests\Helper; - -// here you can define custom actions -// all public methods declared in helper class will be available in $I - -class Unit extends \Codeception\Module -{ - -} diff --git a/tests/_support/UnitTester.php b/tests/_support/UnitTester.php deleted file mode 100644 index 936bc8cf124c56d5d736a9ac798edfc9d48eb72b..0000000000000000000000000000000000000000 --- a/tests/_support/UnitTester.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -namespace App\Tests; - -/** - * Inherited Methods - * @method void wantToTest($text) - * @method void wantTo($text) - * @method void execute($callable) - * @method void expectTo($prediction) - * @method void expect($prediction) - * @method void amGoingTo($argumentation) - * @method void am($role) - * @method void lookForwardTo($achieveValue) - * @method void comment($description) - * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL) - * - * @SuppressWarnings(PHPMD) -*/ -class UnitTester extends \Codeception\Actor -{ - use _generated\UnitTesterActions; - - /** - * Define custom actions here - */ -} diff --git a/tests/_support/_generated/.gitignore b/tests/_support/_generated/.gitignore deleted file mode 100644 index d6b7ef32c8478a48c3994dcadc86837f4371184d..0000000000000000000000000000000000000000 --- a/tests/_support/_generated/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/tests/acceptance.suite.yml b/tests/acceptance.suite.yml deleted file mode 100644 index 4733290f4b4225678d9642aeca33e7e92c447857..0000000000000000000000000000000000000000 --- a/tests/acceptance.suite.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Codeception Test Suite Configuration -# -# Suite for acceptance tests. -# Perform tests in browser using the WebDriver or PhpBrowser. -# If you need both WebDriver and PHPBrowser tests - create a separate suite. - -actor: AcceptanceTester -modules: - enabled: - - PhpBrowser: - url: http://localhost:8000 - - \App\Tests\Helper\Acceptance diff --git a/tests/acceptance/.gitignore b/tests/acceptance/.gitignore deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/tests/functional.suite.yml b/tests/functional.suite.yml deleted file mode 100644 index ccd2a252f5fb85cb623b78ef3b8733823cf50a34..0000000000000000000000000000000000000000 --- a/tests/functional.suite.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Codeception Test Suite Configuration -# -# Suite for functional tests -# Emulate web requests and make application process them -# Include one of framework modules (Symfony2, Yii2, Laravel5) to use it -# Remove this suite if you don't use frameworks - -actor: FunctionalTester -modules: - enabled: - - Symfony: - app_path: 'src' - environment: 'test' -# - Doctrine2: -# depends: Symfony -# cleanup: true - - \App\Tests\Helper\Functional diff --git a/tests/functional/.gitignore b/tests/functional/.gitignore deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/tests/unit.suite.yml b/tests/unit.suite.yml deleted file mode 100644 index 56d5ea86a505668855915dbb5401c34f4de01e5a..0000000000000000000000000000000000000000 --- a/tests/unit.suite.yml +++ /dev/null @@ -1,9 +0,0 @@ -# Codeception Test Suite Configuration -# -# Suite for unit or integration tests. - -actor: UnitTester -modules: - enabled: - - Asserts - - \App\Tests\Helper\Unit diff --git a/tests/unit/.gitignore b/tests/unit/.gitignore deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000