Commit graph

72 commits

Author SHA1 Message Date
Marc Alexander
2ff409ae4d
Merge branch '3.3.x' 2023-10-01 14:00:51 +02:00
Marc Alexander
4bf78d139b
[ticket/17029] Add tests for deleting of last post with different visibility
PHPBB3-17029
2023-10-01 11:12:14 +02:00
Marc Alexander
d76c571ad1
[ticket/17029] Test changing of post count on approve/delete
PHPBB3-17029
2023-10-01 10:35:57 +02:00
Marc Alexander
4046365977
[ticket/17029] Use constants instead of magic numbers in tests
PHPBB3-17029
2023-10-01 10:30:57 +02:00
rubencm
5c67eabeed [ticket/15540] Fix tests
PHPBB3-15540
2021-03-23 02:44:57 +01:00
rubencm
1bc9cbefb2 [ticket/15540] Fix tests
PHPBB3-15540
2021-03-22 21:57:02 +01:00
rubencm
5fd2c51ca8 [ticket/15540] Fix tests and small fixes
PHPBB3-15540
2021-03-22 21:57:02 +01:00
Marc Alexander
b46e242013
Merge branch 'ticket/15392' into ticket/15392-master 2021-03-04 17:04:17 +01:00
DinHere
8c9d26db1f
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere

PHPBB3-15392
2021-03-03 22:24:10 +01:00
rxu
3df19411b4
[ticket/16549] Fix tests
PHPBB3-16549
2020-10-18 10:38:46 +07:00
rxu
ec565de6cb
[ticket/16549] Fix tests
PHPBB3-16549
2020-10-18 10:37:16 +07:00
rubencm
774c609c4a [ticket/16345] Small improvements
PHPBB3-16346
2020-08-14 08:29:06 +00:00
Marc Alexander
9ea5cfd14b
Merge branch '3.3.x' 2019-12-29 15:11:29 +01:00
rxu
dcab076221
[ticket/16276] Further fix PHP nightly tests
PHPBB3-16276
2019-12-29 12:59:24 +07:00
Marc Alexander
0e0659cf34
Merge branch '3.3.x' 2019-11-22 10:56:37 +01:00
v12mike
0f57f3d90d
[ticket/9837] Display unapproved posts to their authors
Coding guidelines fixes

PHPBB3-9837
2019-11-21 13:44:22 +01:00
v12mike
92362441bd
[ticket/9837] Make unapproved posts visible to posters
Add tests
Tidy up code
Improve user message formatting

PHPBB3-9837
2019-11-21 13:44:20 +01:00
rxu
42b7782927
[ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
2019-05-08 21:57:00 +02:00
Rubén Calvo
238247b5fc [ticket/15342] Remove unused variables
PHPBB3-15342
2018-07-11 09:27:08 +02:00
Rubén Calvo
f9c1901317 [ticket/15342] Fix test
PHPBB3-15342
2018-07-11 09:27:08 +02:00
Rubén Calvo
f80c59cb05 [ticket/15286] Fix tests after rebase
PHPBB3-15286
2018-05-01 14:40:02 +02:00
Rubén Calvo
5111d8a339 [ticket/15286] Update tests
PHPBB3-15286
2018-05-01 10:47:11 +02:00
Rubén Calvo
a176fa56ef [ticket/15286] Fix tests
PHPBB3-15286
2018-05-01 10:47:11 +02:00
rxu
e3859d894d [ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
2017-07-17 16:56:55 +07:00
Matt Friedman
14e8113fcf [ticket/14576] Move common required files to bootstrap
PHPBB3-14576
2016-03-31 11:06:47 -07:00
Marc Alexander
49312f05f8 [ticket/14168] Use attachment manager instead of separate classes
PHPBB3-14168
2015-10-12 11:34:11 +02:00
Marc Alexander
88033feb85 [ticket/14168] Fix tests after rebase
PHPBB3-14168
2015-10-09 11:15:21 +02:00
Marc Alexander
0478631389 [ticket/14168] Move phpbb_unlink() into attachment delete class
PHPBB3-14168
2015-10-09 10:18:31 +02:00
Marc Alexander
40117c7730 [ticket/14168] Add attachment resync class
PHPBB3-14168
2015-10-09 10:15:38 +02:00
Marc Alexander
2ce73a22e7 [ticket/14168] Fix tests after adding attachment delete class
PHPBB3-14168
2015-10-09 09:53:07 +02:00
MateBartus
179a470022 [ticket/13762] Moving language related functionality into a separate class
PHPBB3-13762
2015-05-02 13:37:12 +02:00
Gaëtan Muller
a633f3484c [ticket/13496] Update calls to set_config_count()
PHPBB3-13496
2015-02-02 21:52:59 +01:00
brunoais
349aaab6ac [ticket/13146] Even more missing phpbb_mock_event_dispatcher()
PHPBB3-13146
2015-01-10 08:32:22 +00:00
brunoais
da9ac2da72 [ticket/13146] Last missing phpbb_mock_event_dispatcher()
Thank you nickvergessen

PHPBB3-13146
2015-01-10 08:11:51 +00:00
brunoais
346f654b2e [ticket/13146] Use the correct phpbb_mock_event_dispatcher, instead of builder
PHPBB3-13146
2015-01-06 12:58:01 +00:00
brunoais
b3bcc1b501 [ticket/13146] Missing delete post test mock
PHPBB3-13146
2015-01-02 19:26:05 +00:00
brunoais
8376a027a1 [ticket/13146] Setup mocks for tests with dispatcher
PHPBB3-13146
2015-01-02 11:46:03 +00:00
brunoais
bfecae1d60 [ticket/13146] Forgot delete_post_test.php
PHPBB3-13146
2014-12-03 15:43:27 +00:00
brunoais
1c02f7e032 [ticket/13146] Adding required tests modifications for the new constructor
PHPBB3-13146
2014-12-03 15:10:32 +00:00
Marc Alexander
8d99b4afe1 [ticket/12932] Fix tests and calls to create_datetime
PHPBB3-12932
2014-08-10 13:43:04 +02:00
Dhruv
15afaafcb6 [ticket/12718] Use a separate variable for sql query
PHPBB3-12718
2014-08-08 00:18:50 +02:00
Dhruv
6d399c7d6a [ticket/12718] Fix spacing and type casting
PHPBB3-12718
2014-08-07 23:47:32 +02:00
Dhruv
4c2b4b4145 [ticket/12718] Add tests to check user_posts on post deletion
PHPBB3-12718
2014-08-07 18:36:50 +02:00
Tristan Darricau
ab8a197e92 Merge pull request #2623 from dhruvgoel92/ticket/12738
[ticket/12738] Move related code from functions_posting to function

* dhruvgoel92/ticket/12738:
  [ticket/12738] Update constructor docblock
  [ticket/12738] Add $config to constructor in notification test
  [ticket/12738] Fix tests with new config object injection
  [ticket/12738] Inject config object into content_visibility class
  [ticket/11528] Move related code from functions_posting to function
2014-08-07 16:44:49 +02:00
Dhruv
eeb2c128f5 [ticket/12738] Fix tests with new config object injection
PHPBB3-12738
2014-06-20 15:40:23 +05:30
Dhruv
752b5b6628 [ticket/12746] Init phpbb_dispatcher being used by delete_post()
PHPBB3-12746
2014-06-20 15:30:04 +05:30
Joas Schilling
e2308df14d Merge pull request #2426 from Nicofuma/ticket/12174
[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
2014-05-28 21:45:39 +02:00
Tristan Darricau
ad4a373557 [ticket/12174] Add tests
PHPBB3-12174
2014-05-28 14:55:55 +02:00
Yuriy Rusko
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
Joas Schilling
bbada27ee9 [ticket/12115] Also port user interests to profile fields
PHPBB3-12115
2014-02-06 11:32:11 +01:00