diff --git a/composer.json b/composer.json
index bd58dc2..aea7279 100644
--- a/composer.json
+++ b/composer.json
@@ -29,9 +29,9 @@
}
},
"autoload-dev": {
- "classmap": [
- "tests"
- ]
+ "psr-4": {
+ "Tests\\": "tests/"
+ }
},
"scripts": {
"post-root-package-install": [
diff --git a/phpunit.xml b/phpunit.xml
index eb05bcf..0b51eeb 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -9,8 +9,12 @@
processIsolation="false"
stopOnFailure="false">
-
- ./tests
+
+ ./tests/Feature
+
+
+
+ ./tests/Unit
diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php
new file mode 100644
index 0000000..547152f
--- /dev/null
+++ b/tests/CreatesApplication.php
@@ -0,0 +1,22 @@
+make(Kernel::class)->bootstrap();
+
+ return $app;
+ }
+}
diff --git a/tests/features/PromoterLoginTest.php b/tests/Feature/PromoterLoginTest.php
similarity index 94%
rename from tests/features/PromoterLoginTest.php
rename to tests/Feature/PromoterLoginTest.php
index 090556a..330dff1 100644
--- a/tests/features/PromoterLoginTest.php
+++ b/tests/Feature/PromoterLoginTest.php
@@ -1,10 +1,11 @@
make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
-
- return $app;
- }
-
protected function disableExceptionHandling()
{
$this->app->instance(ExceptionHandler::class, new class extends Handler {
diff --git a/tests/unit/Billing/FakePaymentGatewayTest.php b/tests/unit/Billing/FakePaymentGatewayTest.php
index ab66b71..81bc466 100644
--- a/tests/unit/Billing/FakePaymentGatewayTest.php
+++ b/tests/unit/Billing/FakePaymentGatewayTest.php
@@ -1,10 +1,9 @@