aboutsummaryrefslogtreecommitdiffstats
path: root/tests/content_visibility/set_post_visibility_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14972] Migrate from deprecated getMock() method to createMock()rxu2019-05-081-2/+2
| | | | PHPBB3-14972
* [ticket/14576] Move common required files to bootstrapMatt Friedman2016-03-311-3/+0
| | | | PHPBB3-14576
* [ticket/13762] Moving language related functionality into a separate classMateBartus2015-05-021-2/+6
| | | | PHPBB3-13762
* [ticket/13146] Even more missing phpbb_mock_event_dispatcher()brunoais2015-01-101-1/+2
| | | | PHPBB3-13146
* [ticket/13146] Use the correct phpbb_mock_event_dispatcher, instead of builderbrunoais2015-01-061-3/+1
| | | | PHPBB3-13146
* [ticket/13146] Setup mocks for tests with dispatcherbrunoais2015-01-021-1/+3
| | | | PHPBB3-13146
* [ticket/13146] Adding required tests modifications for the new constructorbrunoais2014-12-031-1/+2
| | | | PHPBB3-13146
* [ticket/12932] Fix tests and calls to create_datetimeMarc Alexander2014-08-101-2/+2
| | | | PHPBB3-12932
* [ticket/12738] Fix tests with new config object injectionDhruv2014-06-201-2/+4
| | | | PHPBB3-12738
* Merge pull request #2426 from Nicofuma/ticket/12174Joas Schilling2014-05-281-0/+41
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12174] Update topic_attachment flag when a post is soft-deleted * Nicofuma/ticket/12174: [ticket/12174] Add tests [ticket/12174] Coding style [ticket/12174] Remove $update_topic_attachments_flag [ticket/12174] Don't update the flag for a post without attachment [ticket/12174] Update the conditions [ticket/12174] Remove inline assignment [ticket/12174] Update sql query [ticket/12174] Revert the changes on $topic_update_array [ticket/12174] Corrections [ticket/12174] Update topic_attachment flag when a post is soft-deleted
| * [ticket/12174] Add testsTristan Darricau2014-05-281-0/+41
| | | | | | | | PHPBB3-12174
* | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
|/ | | | PHPBB3-12594
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-3/+3
| | | | PHPBB3-11700
* [ticket/9657] Define user before injectingJoas Schilling2013-07-131-0/+1
| | | | PHPBB3-9657
* [ticket/9657] Fix unit testsJoas Schilling2013-07-111-2/+4
| | | | PHPBB3-9657
* [feature/soft-delete]Fix the rest of unit tests failuresJoas Schilling2012-11-101-1/+2
| | | | PHPBB3-9567
* [feature/soft-delete] Correctly synchronize the topic_visibility in sync()Joas Schilling2012-10-091-1/+1
| | | | | | | This also makes sync('topic_visibility') obsolete, but we keep it for now. Also fix a unit test, because ITEM_DELETED overpowers ITEM_UNAPPROVED PHPBB3-9567
* [feature/soft-delete] Extend functionality for updating a hole topicJoas Schilling2012-10-051-12/+0
| | | | | | | | | Limit the posts to a certain visibility and deletion time This allows us to only restore posts, that were approved when the topic got soft deleted. So previous soft deleted and unapproved posts are still soft deleted/unapproved PHPBB3-9567
* [feature/soft-delete] Fix sync('topic') to match the new logicJoas Schilling2012-10-051-5/+43
| | | | | | This also fixes set_post_visibility() PHPBB3-9567
* [feature/soft-delete] Test topic visibility as wellJoas Schilling2012-10-051-6/+6
| | | | PHPBB3-9657
* [feature/soft-delete] Add unit tests for simple cases of set_post_visibilityJoas Schilling2012-10-021-0/+113
These tests require at least one remaining post. PHPBB3-9657