diff --git a/composer.json b/composer.json index 4e9b473..2838111 100644 --- a/composer.json +++ b/composer.json @@ -33,10 +33,9 @@ } }, "autoload-dev": { - "classmap": [ - "tests/Traits", - "tests/TestCase.php" - ] + "psr-4": { + "Tests\\": "tests/" + } }, "scripts": { "post-root-package-install": [ diff --git a/tests/api/ApiEventsTest.php b/tests/Feature/Api/ApiEventsTest.php similarity index 98% rename from tests/api/ApiEventsTest.php rename to tests/Feature/Api/ApiEventsTest.php index ec885a5..8a80160 100644 --- a/tests/api/ApiEventsTest.php +++ b/tests/Feature/Api/ApiEventsTest.php @@ -1,7 +1,10 @@ make(Illuminate\Contracts\Console\Kernel::class)->bootstrap(); + $app->make(\Illuminate\Contracts\Console\Kernel::class)->bootstrap(); \Hash::setRounds(5); return $app; diff --git a/tests/Traits/DatabaseMigrateSeeds.php b/tests/Traits/DatabaseMigrateSeeds.php index 41a1f2b..55134e8 100644 --- a/tests/Traits/DatabaseMigrateSeeds.php +++ b/tests/Traits/DatabaseMigrateSeeds.php @@ -1,5 +1,7 @@