Skip to content

Commit

Permalink
Added Test Case
Browse files Browse the repository at this point in the history
  • Loading branch information
reactmore committed Sep 1, 2021
1 parent ff3df4d commit 96656f2
Show file tree
Hide file tree
Showing 4 changed files with 2,030 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
vendor/*
.env
index.php
tests/*
1 change: 0 additions & 1 deletion app/Helpers/Validations/ValidationHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Reactmore\Tripay\Exceptions\InvalidContentType;
use Reactmore\Tripay\Exceptions\MissingArguements;
use Reactmore\Tripay\Exceptions\ClassMissing;

class ValidationHelper
{
Expand Down
9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
},
"require-dev": {
"mockery/mockery": "~1.3",
"php-parallel-lint/php-parallel-lint": "^1.3"
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpunit/phpunit": "*"
},
"scripts": {
"check-code": [
"vendor/bin/parallel-lint . --exclude vendor",
"vendor/bin/phpunit tests"
]
}
}
Loading

0 comments on commit 96656f2

Please sign in to comment.