Skip to content

Commit

Permalink
Move phpspec to phpunit tests (#204)
Browse files Browse the repository at this point in the history
Co-authored-by: Marko Ivančić <[email protected]>
  • Loading branch information
cicnavi and Marko Ivančić authored Jul 28, 2023
1 parent b7adb69 commit 0327c2f
Show file tree
Hide file tree
Showing 67 changed files with 2,298 additions and 2,537 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
run: |
echo $NO_COVERAGE
./vendor/bin/phpunit $NO_COVERAGE
./vendor/bin/phpspec run
- name: Save coverage data
if: ${{ matrix.php-versions == '7.4' }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/vendor/
/.php_cs.cache
/composer.lock
/phpspec.yml
/phpunit.yml
.phpunit.result.cache
/.idea/
Expand Down
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
"web-token/jwt-framework": "^2.1"
},
"require-dev": {
"friends-of-phpspec/phpspec-code-coverage": "^6.1",
"friendsofphp/php-cs-fixer": "^3",
"phpspec/phpspec": "^7.1.0",
"phpunit/php-code-coverage": "^9.0.0",
"phpunit/phpcov": "^8.2.0",
"phpunit/phpunit": "^9.0.0",
Expand Down Expand Up @@ -77,8 +75,7 @@
"vendor/bin/phpcs -p"
],
"tests": [
"vendor/bin/phpunit --no-coverage",
"vendor/bin/phpspec run "
"vendor/bin/phpunit --no-coverage"
]
}
}
1 change: 0 additions & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<file>config-templates</file>
<file>hooks</file>
<file>src</file>
<file>spec</file>
<file>tests</file>
<file>public</file>

Expand Down
5 changes: 0 additions & 5 deletions phpspec.yml.dist

This file was deleted.

169 changes: 0 additions & 169 deletions spec/Controller/ClientResetSecretControllerSpec.php

This file was deleted.

115 changes: 0 additions & 115 deletions spec/Controller/ClientShowControllerSpec.php

This file was deleted.

59 changes: 0 additions & 59 deletions spec/Controller/OAuth2AccessTokenControllerSpec.php

This file was deleted.

Loading

0 comments on commit 0327c2f

Please sign in to comment.