Skip to content

Commit

Permalink
tests: tests for main trait, response and webhook handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmo00 committed Jan 4, 2025
1 parent 9cc2423 commit 9100f47
Show file tree
Hide file tree
Showing 17 changed files with 7,775 additions and 74 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
# Docs: https://getcomposer.org/doc/articles/scripts.md

- name: Run test suite
run: composer run-script test
run: composer run-script test --testdox
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"Testbench"
]
}
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
"illuminate/http": "^11.36"
},
"require-dev": {
"phpunit/phpunit": "^11.5"
"phpunit/phpunit": "^11.5",
"orchestra/testbench": "^9.9"
},
"autoload": {
"psr-4": {
"Emmo00\\MockPayStack\\": "src/"
"Emmo00\\MockPayStack\\": "src/",
"Emmo00\\MockPayStack\\Tests\\": "tests/"
}
},
"authors": [
Expand All @@ -24,6 +26,6 @@
}
],
"scripts": {
"test": "phpunit"
"test": "phpunit tests"
}
}
Loading

0 comments on commit 9100f47

Please sign in to comment.