diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e48ddc0..41134cd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -17,13 +17,11 @@ jobs: matrix: os: [ubuntu-latest] php: [8.0, 8.1, 8.2] - laravel: ['9.*', '10.*', '11.*'] + laravel: ['10.*', '11.*'] stability: [prefer-stable] include: - laravel: 10.* testbench: 8.* - - laravel: 9.* - testbench: 7.* - laravel: 11.* testbench: 9.* exclude: diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results new file mode 100644 index 0000000..77ebaf4 --- /dev/null +++ b/.phpunit.cache/test-results @@ -0,0 +1 @@ +{"version":"pest_2.34.1","defects":[],"times":{"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_specific_guard":0.001,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_custom_key":0.001,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_specific_css_classes":0,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_custom_user_attributes":0.001,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_custom_label":0,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_specific_redirect_url":0.001,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link":0.007,"P\\Tests\\LoginLinkComponentTest::__pest_evaluable_it_can_render_a_login_link_with_a_custom_email":0,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_will_not_create_a_user_if_automatic_creation_is_turned_off":0.004,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_a_user_with_specific_id":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_throw_an_exception_when_a_user_model_is_not_configured":0.002,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_create_and_login_a_user_on_a_specific_guard":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_throw_an_exception_when_no_user_class_can_be_determined":0.001,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_login_an_existing_user_with_specific_attributes":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_not_create_a_new_user_if_one_already_exists":0.062,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_login_an_existing_user_with_a_specific_email":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_not_work_in_the_wrong_environment":0.001,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_create_and_login_a_user":0.082,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_a_user_with_both_email_and_custom_attributes":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_a_user_with_specific_email":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_login_an_existing_user_with_a_specific_id":0.062,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_create_and_login_a_user_with_specific_attributes":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_can_redirect_to_a_specific_url":0.061,"P\\Tests\\LoginLinkControllerTest::__pest_evaluable_it_will_redirect_to_the_configured_route_name_by_default":0.061}} \ No newline at end of file diff --git a/composer.json b/composer.json index 81cb6bc..9c1d361 100644 --- a/composer.json +++ b/composer.json @@ -18,15 +18,14 @@ "require": { "php": "^8.0", "spatie/laravel-package-tools": "^1.9.2", - "illuminate/contracts": "^9.0|^10.0|^11.0" + "illuminate/contracts": "^10.0|^11.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", - "nunomaduro/collision": "^6.0|^8.0", - "orchestra/testbench": "^7.0|^8.0|^9.0", - "pestphp/pest": "^1.21|^2.34", + "nunomaduro/collision": "^7.0|^8.0", + "orchestra/testbench": "^8.0|^9.0", + "pestphp/pest": "^2.34", "pestphp/pest-plugin-laravel": "^1.1|^2.3", - "phpunit/phpunit": "^9.5|^10.5", "spatie/laravel-ray": "^1.26", "spatie/pest-plugin-snapshots": "^1.1|^2.1", "spatie/phpunit-snapshot-assertions": "^4.2.12|^5.1" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 94c0e39..e132a58 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,39 +1,16 @@ - - - - tests - - - - - ./src - - - - - - - - - - + + + + tests + + + + + + + + ./src + + diff --git a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link__1.html b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link__1.html index 5f308a4..4669c30 100644 --- a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link__1.html +++ b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link__1.html @@ -1,6 +1,6 @@
- + diff --git a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_email__1.html b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_email__1.html index 87fedbb..042b0bd 100644 --- a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_email__1.html +++ b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_email__1.html @@ -1,6 +1,6 @@ - + diff --git a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_key__1.html b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_key__1.html index 10c133c..6797b3c 100644 --- a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_key__1.html +++ b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_key__1.html @@ -1,6 +1,6 @@ - + diff --git a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_label__1.html b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_label__1.html index 95f0b32..c7bc52c 100644 --- a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_label__1.html +++ b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_custom_label__1.html @@ -1,6 +1,6 @@ - + diff --git a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_specific_guard__1.html b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_specific_guard__1.html index 322c03f..b4deac6 100644 --- a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_specific_guard__1.html +++ b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_specific_guard__1.html @@ -1,6 +1,6 @@ - + diff --git a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_specific_redirect_url__1.html b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_specific_redirect_url__1.html index 933ceab..9a6f2d9 100644 --- a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_specific_redirect_url__1.html +++ b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_a_specific_redirect_url__1.html @@ -1,6 +1,6 @@ - + diff --git a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_custom_user_attributes__1.html b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_custom_user_attributes__1.html index b5dfd38..2999d84 100644 --- a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_custom_user_attributes__1.html +++ b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_custom_user_attributes__1.html @@ -1,6 +1,6 @@ - + diff --git a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_specific_css_classes__1.html b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_specific_css_classes__1.html index 227e686..8a8220b 100644 --- a/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_specific_css_classes__1.html +++ b/tests/__snapshots__/LoginLinkComponentTest__it_can_render_a_login_link_with_specific_css_classes__1.html @@ -1,6 +1,6 @@ - +