-
Notifications
You must be signed in to change notification settings - Fork 50
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
Return correct type on purge when limit has been reached. #185
base: 7.x-1.x
Are you sure you want to change the base?
Conversation
@RoySegall Ready for code review. |
tests/message.test
Outdated
@@ -586,6 +586,45 @@ class MessageCron extends DrupalWebTestCase { | |||
} | |||
|
|||
/** | |||
* Test purging one message type when there're messages more than the cron |
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.
First line of the php doc block need to in a single line.
What the settings of your installation? I've set up a message type with purge limit of 2 and set the global purge to 10(like in the tests) and created 30 messages and the cron ran OK. |
@RoySegall I ran the tests on a clean installation. |
I don't think so because when running the tests a clean env. is created for the tests. |
I don't understand, let's discuss when you have time. |
@RoySegall Fixed your comment, so you are saying that you are running this test on master ( |
Back then - yes. I can test it again. |
@RoySegall Please :) |
#184