Skip to content

Commit

Permalink
Merge pull request #35 from wp-media/revert-32-tests/fixed-tests
Browse files Browse the repository at this point in the history
Revert "Tests/fixed tests"
  • Loading branch information
CrochetFeve0251 authored Jul 18, 2024
2 parents 8df73d7 + 91a40fa commit 547c2a5
Show file tree
Hide file tree
Showing 112 changed files with 611 additions and 9,377 deletions.
2 changes: 0 additions & 2 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
/.git
/.github
/.wordpress-org
/bin
/tests

.distignore
.gitignore
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/lint_phpcs.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/test_php8.yml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/test_rocketcdn.yml

This file was deleted.

Binary file removed bin/browserstack.png
Binary file not shown.
152 changes: 0 additions & 152 deletions bin/install-wp-tests.sh

This file was deleted.

4 changes: 0 additions & 4 deletions bin/makemo.sh

This file was deleted.

6 changes: 0 additions & 6 deletions bin/phpcs-changed.sh

This file was deleted.

10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"league/container": "^3.3",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^7.5 || ^8 || ^9",
"phpunit/phpunit": "^7.5",
"phpunit/php-file-iterator": "2.0.3",
"psr/container": "1.0.0",
"roave/security-advisories": "dev-master",
"szepeviktor/phpstan-wordpress": "^0.7.0",
"wp-coding-standards/wpcs": "^2",
"wp-media/phpunit": "^3.0"
"wp-media/phpunit": "^2.0"
},
"autoload": {
"psr-4": {
Expand All @@ -65,10 +65,12 @@
},
"scripts": {
"test-unit": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration tests/Unit/phpunit.xml.dist",
"test-integration": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist",
"test-integration": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --exclude-group AdminOnly",
"test-integration-adminonly": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group AdminOnly",
"run-tests": [
"@test-unit",
"@test-integration"
"@test-integration",
"@test-integration-adminonly"
],
"run-stan":"vendor/bin/phpstan analyze --memory-limit=2G --no-progress",
"phpcs": "phpcs --basepath=.",
Expand Down
Loading

0 comments on commit 547c2a5

Please sign in to comment.