From fb2f92ce42b9108cfeded366f103ed88bdc5a527 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 2 Jul 2023 14:46:39 +0300 Subject: [PATCH] Remove dummy unit tests (#79) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update phpunit/phpunit requirement from ^9.0||^7.0 to ^9.0||^7.0||^10.0 Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.2.3/ChangeLog-10.2.md) - [Commits](https://github.com/sebastianbergmann/phpunit/commits/10.2.3) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development ... Signed-off-by: dependabot[bot] * remove dummy unit tests --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cristian Tăbăcitu --- README.md | 6 ------ composer.json | 9 --------- phpunit.xml | 17 ----------------- tests/BaseTest.php | 16 ---------------- 4 files changed, 48 deletions(-) delete mode 100644 phpunit.xml delete mode 100644 tests/BaseTest.php diff --git a/README.md b/README.md index 62858b9..389f15c 100644 --- a/README.md +++ b/README.md @@ -114,12 +114,6 @@ For Installation type (B), change the namespace to `Backpack\MenuCRUD\app\Models Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently. -## Testing - -``` bash -composer test -``` - ## Overwriting functionality If you've used installation type A and need to modify how this works in a project: diff --git a/composer.json b/composer.json index 8c70bba..5e629a3 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,6 @@ "backpack/pagemanager": "^3.2" }, "require-dev": { - "phpunit/phpunit" : "^9.0||^7.0", "scrutinizer/ocular": "~1.1", "squizlabs/php_codesniffer": "~2.3 || ~3.0" }, @@ -32,14 +31,6 @@ "Backpack\\MenuCRUD\\": "src" } }, - "autoload-dev": { - "psr-4": { - "Backpack\\MenuCRUD\\": "tests" - } - }, - "scripts": { - "test": "vendor/bin/phpunit --testdox" - }, "extra": { "branch-alias": { "dev-master": "1.0-dev" diff --git a/phpunit.xml b/phpunit.xml deleted file mode 100644 index 422eeac..0000000 --- a/phpunit.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - ./tests/ - - - diff --git a/tests/BaseTest.php b/tests/BaseTest.php deleted file mode 100644 index f34de18..0000000 --- a/tests/BaseTest.php +++ /dev/null @@ -1,16 +0,0 @@ -assertTrue(true); - } -}