Skip to content

[10.x] Array cache unit-test #48591

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

Closed
wants to merge 2 commits into from
Closed

[10.x] Array cache unit-test #48591

wants to merge 2 commits into from

Conversation

rez1dent3
Copy link
Contributor

Hello. I suggest adding only a unit test to avoid unpleasant bugs in the future: #48569

And move this PR #48582 to laravel 11 or close it altogether.

@driesvints FYI

@driesvints
Copy link
Member

Thanks. Will let @timacdonald review this one.

@rez1dent3
Copy link
Contributor Author

rez1dent3 commented Sep 29, 2023

@driesvints I was sitting and thinking about the while crutch and remembered setTestNow. Added a commit to PR

pipeline is green: https://github.com/rez1dent3/laraframework/pull/2
unit tests passed

@timacdonald
Copy link
Member

I'm closing this one in favour of #48573.

The unit test here doesn't test the boundary enough to very all the current problems with the expiry.

@timacdonald timacdonald closed this Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants