Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests fail in local env but pass on github. #11

Closed
mjauvin opened this issue Aug 2, 2022 · 1 comment
Closed

tests fail in local env but pass on github. #11

mjauvin opened this issue Aug 2, 2022 · 1 comment

Comments

@mjauvin
Copy link
Member

mjauvin commented Aug 2, 2022

$ ./artisan winter:test -p winter.redirect
Running tests for plugin: winter.redirect
PHPUnit 9.5.21 #StandWithUkraine

..........E

Time: 00:09.545, Memory: 46.50 MB

There was 1 error:

1) Winter\Redirect\Tests\Cases\RedirectManagerTest::testTargetCmsPageRedirectWithRegexSource
BadMethodCallException: Method Winter\Storm\Validation\Validator::validateIsRegex does not exist.

/home/w2c/w2c.studioazura.com/current/public/vendor/laravel/framework/src/Illuminate/Validation/Validator.php:1534
/home/w2c/w2c.studioazura.com/current/public/vendor/laravel/framework/src/Illuminate/Validation/Validator.php:609
/home/w2c/w2c.studioazura.com/current/public/vendor/laravel/framework/src/Illuminate/Validation/Validator.php:415
/home/w2c/w2c.studioazura.com/current/public/vendor/winter/storm/src/Database/Traits/Validation.php:308
/home/w2c/w2c.studioazura.com/current/public/vendor/winter/storm/src/Database/Traits/Validation.php:76
/home/w2c/w2c.studioazura.com/current/public/vendor/winter/storm/src/Support/Traits/Emitter.php:182
/home/w2c/w2c.studioazura.com/current/public/vendor/winter/storm/src/Database/Model.php:787
/home/w2c/w2c.studioazura.com/current/public/vendor/winter/storm/src/Database/Model.php:830
/home/w2c/w2c.studioazura.com/current/public/plugins/winter/redirect/tests/cases/RedirectManagerTest.php:455
@LukeTowers
Copy link
Member

Fixed by 15fcd47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants