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
avoid large amounts of notifications being added to the session #17736
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might it make sense to add some tests for that?
@sgiehl I added some relevant tests. I didn't add tests for all of DbTable.php or Notification\Manager.php, they were completely untested before. That might be good to do eventually. |
guess we could create a new issue for creating more/better tests for that |
This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers |
@sgiehl updated |
Should be good to merge if tests are passing again now |
As it's quite a big PR / change let's maybe merge it after the Matomo 4.4 release (as there have been already two RC releases and the release is due soon) |
@diosmosis I've merged in the latest changes from |
0957259
to
65fc9b0
Compare
* | ||
*/ | ||
|
||
namespace PHPUnit\Integration\Session\SaveHandler; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't that be Piwik\Tests\Integration\...
? Same for the other file
@sgiehl applied the changes. The UI tests seem to be due to the version bump I think, the "new update available" widget is being displayed (w/o content). |
@diosmosis we are already on |
I was sure I did that, maybe I didn't push... 😕 EDIT: Oh I see. |
@sgiehl build is passing (TwoFactorAuth failures unrelated) |
Description:
Fixes #17732
Changes:
Review