thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

after upgrade 1.4.3 , voyager excel test case is failed #5439

Closed tu6ge closed 3 years ago

tu6ge commented 3 years ago

Laravel version

7

PHP version

7.3

Voyager version

1.4.3

Database

-

Description

Hi, I find the last version suport php 8, and today, I am changing github workflows , voyager excel plugin `s test case is failed ,more info

Steps to reproduce

run github workflow

Expected behavior

run test case success

Screenshots

No response

Additional context

No response

tu6ge commented 3 years ago

error info:

PHP Warning:  Uncaught ErrorException: require_once(/home/tu6ge/php/voyager-excel/vendor/orchestra/testbench-core/laravel/vendor/autoload.php): failed to open stream: No such file or directory in /home/tu6ge/php/voyager-excel/vendor/tcg/voyager/src/Commands/InstallCommand.php:146
Stack trace:
#0 /home/tu6ge/php/voyager-excel/vendor/tcg/voyager/src/Commands/InstallCommand.php(146): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /home/tu6ge/php/voyager-excel/vendor/tcg/voyager/src/Commands/InstallCommand.php(146): require_once()
#2 /home/tu6ge/php/voyager-excel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): TCG\Voyager\Commands\InstallCommand->handle()
#3 /home/tu6ge/php/voyager-excel/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /home/tu6ge/php/voyager-excel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#5 /home/tu6ge/php/voy in /home/tu6ge/php/voyager-excel/vendor/tcg/voyager/src/Commands/InstallCommand.php on line 146
PHP Fatal error:  TCG\Voyager\Commands\InstallCommand::handle(): Failed opening required '/home/tu6ge/php/voyager-excel/vendor/orchestra/testbench-core/laravel/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/tu6ge/php/voyager-excel/vendor/tcg/voyager/src/Commands/InstallCommand.php on line 146
MrCrayon commented 3 years ago

Changes have been made to make seeders work in Laravel 8, you probably need to update your TestCase. Relevant changes should be here #5093

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.