From ff5716b4f650a328c9a08b7c3c680820e87f6079 Mon Sep 17 00:00:00 2001 From: Sophist <3001893+Sophist-UK@users.noreply.github.com> Date: Mon, 20 Jan 2025 21:54:50 +0000 Subject: [PATCH] Modularise existing tests Simply moves tests into appropriate sub-directories and makes 1 small fix so they continue to work. --- .phpunit.cache/test-results | 2 +- .../{ => hasAssetsTests}/PackageAssetsTest.php | 0 .../{ => hasCommandTests}/PackageCommandTest.php | 0 .../{ => hasCommandTests}/PackageCommandWithinAppTest.php | 0 .../{ => hasCommandTests}/PackageCommandsTest.php | 0 .../{ => hasConfigTests}/PackageConfigTest.php | 0 .../{ => hasConfigTests}/PackageMultipleConfigTest.php | 0 .../{ => hasMigrationsTests}/PackageDiscoversMigrationsTest.php | 0 .../{ => hasMigrationsTests}/PackageMigrationTest.php | 2 +- .../PackagePublishableProviderTest.php | 0 .../{ => hasRouteTests}/PackageRouteTest.php | 0 .../{ => hasRouteTests}/PackageRoutesTest.php | 0 .../{ => hasSharedDataTests}/PackageSharedDataTest.php | 0 .../{ => hasTranslationsTests}/PackageTranslationsTest.php | 0 .../{ => hasViewComponentsTest}/PackageViewComponentsTest.php | 0 .../{ => hasViewComposerTests}/PackageViewComposerTest.php | 0 .../{ => hasViewsTests}/PackageViewsTest.php | 0 .../{ => hasViewsTests}/PackageViewsWithCustomNamespaceTest.php | 0 18 files changed, 2 insertions(+), 2 deletions(-) rename tests/PackageServiceProviderTests/{ => hasAssetsTests}/PackageAssetsTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasCommandTests}/PackageCommandTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasCommandTests}/PackageCommandWithinAppTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasCommandTests}/PackageCommandsTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasConfigTests}/PackageConfigTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasConfigTests}/PackageMultipleConfigTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasMigrationsTests}/PackageDiscoversMigrationsTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasMigrationsTests}/PackageMigrationTest.php (95%) rename tests/PackageServiceProviderTests/{ => hasPublishableProviderTests}/PackagePublishableProviderTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasRouteTests}/PackageRouteTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasRouteTests}/PackageRoutesTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasSharedDataTests}/PackageSharedDataTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasTranslationsTests}/PackageTranslationsTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasViewComponentsTest}/PackageViewComponentsTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasViewComposerTests}/PackageViewComposerTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasViewsTests}/PackageViewsTest.php (100%) rename tests/PackageServiceProviderTests/{ => hasViewsTests}/PackageViewsWithCustomNamespaceTest.php (100%) diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results index 39beb86..bf45a23 100644 --- a/.phpunit.cache/test-results +++ b/.phpunit.cache/test-results @@ -1 +1 @@ -{"version":"pest_2.36.0","defects":[],"times":{"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\AskToRunMigrationsTest::__pest_evaluable_it_can_ask_to_run_the_migrations":0.043,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\AssetsTest::__pest_evaluable_it_can_install_the_assets":0.01,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\ConfigFileTest::__pest_evaluable_it_can_install_the_config_file":0.002,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\CopyAndRegisterServiceProviderInAppTest::__pest_evaluable_it_can_copy_and_register_the_service_provider_in_the_app":0.003,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\EndWithTest::__pest_evaluable_it_can_execute_the_end_with":0.001,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\MigrationTest::__pest_evaluable_it_can_install_the_migrations":0.002,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\StarRepoTest::__pest_evaluable_it_can_propose_to_star_the_repo":0.001,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\StartWithTest::__pest_evaluable_it_can_execute_the_start_with":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageAssetsTest::__pest_evaluable_it_can_publish_the_assets":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageCommandTest::__pest_evaluable_it_can_execute_a_registered_commands":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageCommandWithinAppTest::__pest_evaluable_it_can_execute_a_registered_command_in_the_context_of_the_app":0.012,"P\\Tests\\PackageServiceProviderTests\\PackageCommandsTest::__pest_evaluable_it_can_execute_a_registered_commands":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageConfigTest::__pest_evaluable_it_can_register_the_config_file":0,"P\\Tests\\PackageServiceProviderTests\\PackageConfigTest::__pest_evaluable_it_can_publish_the_config_file":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_publishes_discovered_migrations":0.003,"P\\Tests\\PackageServiceProviderTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_can_publish_the_migration_without_being_stubbed":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_does_not_overwrite_the_existing_migration":0.004,"P\\Tests\\PackageServiceProviderTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_can_run_migrations_which_registers_them":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_can_publish_the_migration":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_can_publish_the_migration_without_being_stubbed":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_does_not_overwrite_the_existing_migration":0.003,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_does_overwrite_the_existing_migration_with_force":0.003,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_can_run_migrations_which_registers_them":0,"P\\Tests\\PackageServiceProviderTests\\PackageMultipleConfigTest::__pest_evaluable_it_can_register_multiple_config_files":0,"P\\Tests\\PackageServiceProviderTests\\PackageNameTest::__pest_evaluable_it_will_not_blow_up_when_a_name_is_set":0,"P\\Tests\\PackageServiceProviderTests\\PackagePublishableProviderTest::__pest_evaluable_it_can_publish_a_service_provider":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageRouteTest::__pest_evaluable_it_can_load_the_route":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageRouteTest::__pest_evaluable_it_can_load_multiple_route":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageRoutesTest::__pest_evaluable_it_can_load_the_route":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageRoutesTest::__pest_evaluable_it_can_load_multiple_route":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageSharedDataTest::__pest_evaluable_it_can_share_data_with_all_views":0.004,"P\\Tests\\PackageServiceProviderTests\\PackageTranslationsTest::__pest_evaluable_it_can_load_the_translations":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageTranslationsTest::__pest_evaluable_it_can_publish_the_translations":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageViewComponentsTest::__pest_evaluable_it_can_load_the_view_components":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageViewComponentsTest::__pest_evaluable_it_can_publish_the_view_components":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageViewComposerTest::__pest_evaluable_it_can_load_the_view_composer_and_render_shared_data":0,"P\\Tests\\PackageServiceProviderTests\\PackageViewsTest::__pest_evaluable_it_can_load_the_views":0,"P\\Tests\\PackageServiceProviderTests\\PackageViewsTest::__pest_evaluable_it_can_publish_the_views":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageViewsWithCustomNamespaceTest::__pest_evaluable_it_can_load_the_views_with_a_custom_namespace":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageViewsWithCustomNamespaceTest::__pest_evaluable_it_can_publish_the_views_with_a_custom_namespace":0.001}} \ No newline at end of file +{"version":"pest_2.36.0","defects":{"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageMigrationTest::__pest_evaluable_it_does_overwrite_the_existing_migration_with_force":8},"times":{"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\AskToRunMigrationsTest::__pest_evaluable_it_can_ask_to_run_the_migrations":0.124,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\AssetsTest::__pest_evaluable_it_can_install_the_assets":0.032,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\ConfigFileTest::__pest_evaluable_it_can_install_the_config_file":0.008,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\CopyAndRegisterServiceProviderInAppTest::__pest_evaluable_it_can_copy_and_register_the_service_provider_in_the_app":0.027,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\EndWithTest::__pest_evaluable_it_can_execute_the_end_with":0.003,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\MigrationTest::__pest_evaluable_it_can_install_the_migrations":0.012,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\StarRepoTest::__pest_evaluable_it_can_propose_to_star_the_repo":0.007,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\StartWithTest::__pest_evaluable_it_can_execute_the_start_with":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageAssetsTest::__pest_evaluable_it_can_publish_the_assets":0.015,"P\\Tests\\PackageServiceProviderTests\\PackageCommandTest::__pest_evaluable_it_can_execute_a_registered_commands":0.005,"P\\Tests\\PackageServiceProviderTests\\PackageCommandWithinAppTest::__pest_evaluable_it_can_execute_a_registered_command_in_the_context_of_the_app":0.096,"P\\Tests\\PackageServiceProviderTests\\PackageCommandsTest::__pest_evaluable_it_can_execute_a_registered_commands":0.008,"P\\Tests\\PackageServiceProviderTests\\PackageConfigTest::__pest_evaluable_it_can_register_the_config_file":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageConfigTest::__pest_evaluable_it_can_publish_the_config_file":0.014,"P\\Tests\\PackageServiceProviderTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_publishes_discovered_migrations":0.046,"P\\Tests\\PackageServiceProviderTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_can_publish_the_migration_without_being_stubbed":0.043,"P\\Tests\\PackageServiceProviderTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_does_not_overwrite_the_existing_migration":0.05,"P\\Tests\\PackageServiceProviderTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_can_run_migrations_which_registers_them":0.01,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_can_publish_the_migration":0.044,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_can_publish_the_migration_without_being_stubbed":0.034,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_does_not_overwrite_the_existing_migration":0.063,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_does_overwrite_the_existing_migration_with_force":0.076,"P\\Tests\\PackageServiceProviderTests\\PackageMigrationTest::__pest_evaluable_it_can_run_migrations_which_registers_them":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageMultipleConfigTest::__pest_evaluable_it_can_register_multiple_config_files":0.001,"P\\Tests\\PackageServiceProviderTests\\PackageNameTest::__pest_evaluable_it_will_not_blow_up_when_a_name_is_set":0.001,"P\\Tests\\PackageServiceProviderTests\\PackagePublishableProviderTest::__pest_evaluable_it_can_publish_a_service_provider":0.013,"P\\Tests\\PackageServiceProviderTests\\PackageRouteTest::__pest_evaluable_it_can_load_the_route":0.004,"P\\Tests\\PackageServiceProviderTests\\PackageRouteTest::__pest_evaluable_it_can_load_multiple_route":0.005,"P\\Tests\\PackageServiceProviderTests\\PackageRoutesTest::__pest_evaluable_it_can_load_the_route":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageRoutesTest::__pest_evaluable_it_can_load_multiple_route":0.002,"P\\Tests\\PackageServiceProviderTests\\PackageSharedDataTest::__pest_evaluable_it_can_share_data_with_all_views":0.043,"P\\Tests\\PackageServiceProviderTests\\PackageTranslationsTest::__pest_evaluable_it_can_load_the_translations":0.013,"P\\Tests\\PackageServiceProviderTests\\PackageTranslationsTest::__pest_evaluable_it_can_publish_the_translations":0.012,"P\\Tests\\PackageServiceProviderTests\\PackageViewComponentsTest::__pest_evaluable_it_can_load_the_view_components":0.014,"P\\Tests\\PackageServiceProviderTests\\PackageViewComponentsTest::__pest_evaluable_it_can_publish_the_view_components":0.011,"P\\Tests\\PackageServiceProviderTests\\PackageViewComposerTest::__pest_evaluable_it_can_load_the_view_composer_and_render_shared_data":0.003,"P\\Tests\\PackageServiceProviderTests\\PackageViewsTest::__pest_evaluable_it_can_load_the_views":0.004,"P\\Tests\\PackageServiceProviderTests\\PackageViewsTest::__pest_evaluable_it_can_publish_the_views":0.013,"P\\Tests\\PackageServiceProviderTests\\PackageViewsWithCustomNamespaceTest::__pest_evaluable_it_can_load_the_views_with_a_custom_namespace":0.005,"P\\Tests\\PackageServiceProviderTests\\PackageViewsWithCustomNamespaceTest::__pest_evaluable_it_can_publish_the_views_with_a_custom_namespace":0.007,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_publishes_discovered_migrations":0.039,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_can_publish_the_migration_without_being_stubbed":0.031,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_does_not_overwrite_the_existing_migration":0.053,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_can_run_migrations_which_registers_them":0.003,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageMigrationTest::__pest_evaluable_it_can_publish_the_migration":0.035,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageMigrationTest::__pest_evaluable_it_can_publish_the_migration_without_being_stubbed":0.043,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageMigrationTest::__pest_evaluable_it_does_not_overwrite_the_existing_migration":0.049,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageMigrationTest::__pest_evaluable_it_does_overwrite_the_existing_migration_with_force":0.134,"P\\Tests\\PackageServiceProviderTests\\InstallCommandTests\\PackageMigrationTest::__pest_evaluable_it_can_run_migrations_which_registers_them":0.001,"P\\Tests\\PackageServiceProviderTests\\hasAssetsTests\\PackageAssetsTest::__pest_evaluable_it_can_publish_the_assets":0.007,"P\\Tests\\PackageServiceProviderTests\\hasCommandTests\\PackageCommandTest::__pest_evaluable_it_can_execute_a_registered_commands":0.003,"P\\Tests\\PackageServiceProviderTests\\hasCommandTests\\PackageCommandWithinAppTest::__pest_evaluable_it_can_execute_a_registered_command_in_the_context_of_the_app":0.036,"P\\Tests\\PackageServiceProviderTests\\hasCommandTests\\PackageCommandsTest::__pest_evaluable_it_can_execute_a_registered_commands":0.007,"P\\Tests\\PackageServiceProviderTests\\hasConfigTests\\PackageConfigTest::__pest_evaluable_it_can_register_the_config_file":0.001,"P\\Tests\\PackageServiceProviderTests\\hasConfigTests\\PackageConfigTest::__pest_evaluable_it_can_publish_the_config_file":0.009,"P\\Tests\\PackageServiceProviderTests\\hasConfigTests\\PackageMultipleConfigTest::__pest_evaluable_it_can_register_multiple_config_files":0.001,"P\\Tests\\PackageServiceProviderTests\\hasPublishableProviderTests\\PackagePublishableProviderTest::__pest_evaluable_it_can_publish_a_service_provider":0.014,"P\\Tests\\PackageServiceProviderTests\\hasRouteTests\\PackageRouteTest::__pest_evaluable_it_can_load_the_route":0.002,"P\\Tests\\PackageServiceProviderTests\\hasRouteTests\\PackageRouteTest::__pest_evaluable_it_can_load_multiple_route":0.002,"P\\Tests\\PackageServiceProviderTests\\hasRouteTests\\PackageRoutesTest::__pest_evaluable_it_can_load_the_route":0.002,"P\\Tests\\PackageServiceProviderTests\\hasRouteTests\\PackageRoutesTest::__pest_evaluable_it_can_load_multiple_route":0.002,"P\\Tests\\PackageServiceProviderTests\\hasSharedDataTests\\PackageSharedDataTest::__pest_evaluable_it_can_share_data_with_all_views":0.023,"P\\Tests\\PackageServiceProviderTests\\hasTranslationsTests\\PackageTranslationsTest::__pest_evaluable_it_can_load_the_translations":0.006,"P\\Tests\\PackageServiceProviderTests\\hasTranslationsTests\\PackageTranslationsTest::__pest_evaluable_it_can_publish_the_translations":0.021,"P\\Tests\\PackageServiceProviderTests\\hasViewComponentsTest\\PackageViewComponentsTest::__pest_evaluable_it_can_load_the_view_components":0.008,"P\\Tests\\PackageServiceProviderTests\\hasViewComponentsTest\\PackageViewComponentsTest::__pest_evaluable_it_can_publish_the_view_components":0.006,"P\\Tests\\PackageServiceProviderTests\\hasViewComposerTests\\PackageViewComposerTest::__pest_evaluable_it_can_load_the_view_composer_and_render_shared_data":0.001,"P\\Tests\\PackageServiceProviderTests\\hasViewsTests\\PackageViewsTest::__pest_evaluable_it_can_load_the_views":0.002,"P\\Tests\\PackageServiceProviderTests\\hasViewsTests\\PackageViewsTest::__pest_evaluable_it_can_publish_the_views":0.008,"P\\Tests\\PackageServiceProviderTests\\hasViewsTests\\PackageViewsWithCustomNamespaceTest::__pest_evaluable_it_can_load_the_views_with_a_custom_namespace":0.002,"P\\Tests\\PackageServiceProviderTests\\hasViewsTests\\PackageViewsWithCustomNamespaceTest::__pest_evaluable_it_can_publish_the_views_with_a_custom_namespace":0.007,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_publishes_discovered_migrations":0.048,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_can_publish_the_migration_without_being_stubbed":0.029,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_does_not_overwrite_the_existing_migration":0.043,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageDiscoversMigrationsTest::__pest_evaluable_it_can_run_migrations_which_registers_them":0.003,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageMigrationTest::__pest_evaluable_it_can_publish_the_migration":0.031,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageMigrationTest::__pest_evaluable_it_can_publish_the_migration_without_being_stubbed":0.031,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageMigrationTest::__pest_evaluable_it_does_not_overwrite_the_existing_migration":0.063,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageMigrationTest::__pest_evaluable_it_does_overwrite_the_existing_migration_with_force":0.074,"P\\Tests\\PackageServiceProviderTests\\hasMigrationsTests\\PackageMigrationTest::__pest_evaluable_it_can_run_migrations_which_registers_them":0.001}} \ No newline at end of file diff --git a/tests/PackageServiceProviderTests/PackageAssetsTest.php b/tests/PackageServiceProviderTests/hasAssetsTests/PackageAssetsTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageAssetsTest.php rename to tests/PackageServiceProviderTests/hasAssetsTests/PackageAssetsTest.php diff --git a/tests/PackageServiceProviderTests/PackageCommandTest.php b/tests/PackageServiceProviderTests/hasCommandTests/PackageCommandTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageCommandTest.php rename to tests/PackageServiceProviderTests/hasCommandTests/PackageCommandTest.php diff --git a/tests/PackageServiceProviderTests/PackageCommandWithinAppTest.php b/tests/PackageServiceProviderTests/hasCommandTests/PackageCommandWithinAppTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageCommandWithinAppTest.php rename to tests/PackageServiceProviderTests/hasCommandTests/PackageCommandWithinAppTest.php diff --git a/tests/PackageServiceProviderTests/PackageCommandsTest.php b/tests/PackageServiceProviderTests/hasCommandTests/PackageCommandsTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageCommandsTest.php rename to tests/PackageServiceProviderTests/hasCommandTests/PackageCommandsTest.php diff --git a/tests/PackageServiceProviderTests/PackageConfigTest.php b/tests/PackageServiceProviderTests/hasConfigTests/PackageConfigTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageConfigTest.php rename to tests/PackageServiceProviderTests/hasConfigTests/PackageConfigTest.php diff --git a/tests/PackageServiceProviderTests/PackageMultipleConfigTest.php b/tests/PackageServiceProviderTests/hasConfigTests/PackageMultipleConfigTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageMultipleConfigTest.php rename to tests/PackageServiceProviderTests/hasConfigTests/PackageMultipleConfigTest.php diff --git a/tests/PackageServiceProviderTests/PackageDiscoversMigrationsTest.php b/tests/PackageServiceProviderTests/hasMigrationsTests/PackageDiscoversMigrationsTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageDiscoversMigrationsTest.php rename to tests/PackageServiceProviderTests/hasMigrationsTests/PackageDiscoversMigrationsTest.php diff --git a/tests/PackageServiceProviderTests/PackageMigrationTest.php b/tests/PackageServiceProviderTests/hasMigrationsTests/PackageMigrationTest.php similarity index 95% rename from tests/PackageServiceProviderTests/PackageMigrationTest.php rename to tests/PackageServiceProviderTests/hasMigrationsTests/PackageMigrationTest.php index 8ef5a99..3ac1795 100644 --- a/tests/PackageServiceProviderTests/PackageMigrationTest.php +++ b/tests/PackageServiceProviderTests/hasMigrationsTests/PackageMigrationTest.php @@ -72,7 +72,7 @@ public function configurePackage(Package $package) $this->assertStringEqualsFile( $filePath, - file_get_contents(__DIR__.'/../TestPackage/database/migrations/create_another_laravel_package_tools_table.php.stub') + file_get_contents(__DIR__.'/../../TestPackage/database/migrations/create_another_laravel_package_tools_table.php.stub') ); }); diff --git a/tests/PackageServiceProviderTests/PackagePublishableProviderTest.php b/tests/PackageServiceProviderTests/hasPublishableProviderTests/PackagePublishableProviderTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackagePublishableProviderTest.php rename to tests/PackageServiceProviderTests/hasPublishableProviderTests/PackagePublishableProviderTest.php diff --git a/tests/PackageServiceProviderTests/PackageRouteTest.php b/tests/PackageServiceProviderTests/hasRouteTests/PackageRouteTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageRouteTest.php rename to tests/PackageServiceProviderTests/hasRouteTests/PackageRouteTest.php diff --git a/tests/PackageServiceProviderTests/PackageRoutesTest.php b/tests/PackageServiceProviderTests/hasRouteTests/PackageRoutesTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageRoutesTest.php rename to tests/PackageServiceProviderTests/hasRouteTests/PackageRoutesTest.php diff --git a/tests/PackageServiceProviderTests/PackageSharedDataTest.php b/tests/PackageServiceProviderTests/hasSharedDataTests/PackageSharedDataTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageSharedDataTest.php rename to tests/PackageServiceProviderTests/hasSharedDataTests/PackageSharedDataTest.php diff --git a/tests/PackageServiceProviderTests/PackageTranslationsTest.php b/tests/PackageServiceProviderTests/hasTranslationsTests/PackageTranslationsTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageTranslationsTest.php rename to tests/PackageServiceProviderTests/hasTranslationsTests/PackageTranslationsTest.php diff --git a/tests/PackageServiceProviderTests/PackageViewComponentsTest.php b/tests/PackageServiceProviderTests/hasViewComponentsTest/PackageViewComponentsTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageViewComponentsTest.php rename to tests/PackageServiceProviderTests/hasViewComponentsTest/PackageViewComponentsTest.php diff --git a/tests/PackageServiceProviderTests/PackageViewComposerTest.php b/tests/PackageServiceProviderTests/hasViewComposerTests/PackageViewComposerTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageViewComposerTest.php rename to tests/PackageServiceProviderTests/hasViewComposerTests/PackageViewComposerTest.php diff --git a/tests/PackageServiceProviderTests/PackageViewsTest.php b/tests/PackageServiceProviderTests/hasViewsTests/PackageViewsTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageViewsTest.php rename to tests/PackageServiceProviderTests/hasViewsTests/PackageViewsTest.php diff --git a/tests/PackageServiceProviderTests/PackageViewsWithCustomNamespaceTest.php b/tests/PackageServiceProviderTests/hasViewsTests/PackageViewsWithCustomNamespaceTest.php similarity index 100% rename from tests/PackageServiceProviderTests/PackageViewsWithCustomNamespaceTest.php rename to tests/PackageServiceProviderTests/hasViewsTests/PackageViewsWithCustomNamespaceTest.php