Write simpletest for expiring items
Aron Novak - June 24, 2009 - 12:11
| Project: | FeedAPI |
| Version: | 6.x-1.x-dev |
| Component: | Code feedapi (core module) |
| Category: | task |
| Priority: | critical |
| Assigned: | Aron Novak |
| Status: | closed |
Description
Write a test class for "Delete news items older than" setting. Should be done after #499680: Restructure tests to avoid wasted effort.

#1
There is a test, but it's not successful yet.
#2
This is such a patch what I would like to see in FeedAPI 1.9.
#3
Rerolled. Now all the tests are passed.
#4
Ideally, this test checks for X remaining items after deleting Y items that have expired. Would this be possible?
#5
it's not so straightforward to do that.
If we want to do that, i should only start it after #560882: Do not rely on active internet connection and 3rd party server at the tests
It would be too awkward to have a dynamic php feed what returns relative pubDates to time()
#6
I extended w/ such a case where not all items expired, but only 1. Committed.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.