aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12371] Reapprove the post and topic again in testsJoas Schilling2014-04-251-0/+10
| | | | PHPBB3-12371
* [ticket/12371] Add functional tests for reapprovingJoas Schilling2014-04-251-0/+406
| | | | PHPBB3-12371
* [ticket/12371] Rename disapprove and softdelete testsJoas Schilling2014-04-252-2/+2
| | | | PHPBB3-12371
* [ticket/12371] We do not group quote notifications anymoreJoas Schilling2014-04-251-1/+2
| | | | PHPBB3-12371
* [ticket/12436] Data passed to sql_multi_insert is expected to be multi-dim.Andreas Fischer2014-04-241-2/+2
| | | | PHPBB3-12436
* Merge pull request #2335 from Elsensee/ticket/12422Joas Schilling2014-04-222-1/+46
|\ | | | | | | | | | | | | | | [ticket/12422] Fix debug warning in log search * Elsensee/ticket/12422: [ticket/12422] Add tests [ticket/12422] Fix debug warning in log search
| * [ticket/12422] Add testsOliver Schramm2014-04-222-1/+46
| | | | | | | | PHPBB3-12422
* | [ticket/12405] Valid timezone and dateformat for create_user() in testsMatt Friedman2014-04-191-2/+2
|/ | | | PHPBB3-12405
* Merge branch 'develop-olympus' into develop-ascraeusJoas Schilling2014-04-151-0/+38
|\ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10423] Replace foreach with function in viewtopic.php [ticket/10423] Remove unnecessary include in test [ticket/10423] Match multiple wildcards [ticket/10423] Move code into a function and add tests for it [ticket/10423] Remove * from search or highlight string
| * Merge pull request #2195 from Elsensee/ticket/10423Joas Schilling2014-04-151-0/+38
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/10423] Remove * from search or highlight string * Elsensee/ticket/10423: [ticket/10423] Replace foreach with function in viewtopic.php [ticket/10423] Remove unnecessary include in test [ticket/10423] Match multiple wildcards [ticket/10423] Move code into a function and add tests for it [ticket/10423] Remove * from search or highlight string
| | * [ticket/10423] Remove unnecessary include in testOliver Schramm2014-04-151-1/+0
| | | | | | | | | | | | PHPBB3-10423
| | * [ticket/10423] Match multiple wildcardsOliver Schramm2014-04-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Multiple wildcards are removed from the string if there is no word before or after them. If there is a word before or after them, they are just replaced with a single one. PHPBB3-10423
| | * [ticket/10423] Move code into a function and add tests for itOliver Schramm2014-04-131-0/+37
| | | | | | | | | | | | PHPBB3-10423
* | | Merge pull request #2286 from nickvergessen/ticket/12388Andreas Fischer2014-04-151-3/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12388] Fix translation of log entries without additional log data * nickvergessen/ticket/12388: [ticket/12388] Add tests for lang() use on log actions without data [ticket/12388] Fix translation of log entries without additional log data
| * | | [ticket/12388] Add tests for lang() use on log actions without dataJoas Schilling2014-04-111-3/+5
| | | | | | | | | | | | | | | | PHPBB3-12388
* | | | Merge remote-tracking branch 'marc/ticket/12004' into develop-ascraeusJoas Schilling2014-04-141-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * marc/ticket/12004: [ticket/12004] Support empty routes to app.php/ in path_helper
| * | | | [ticket/12004] Support empty routes to app.php/ in path_helperMarc Alexander2014-04-111-0/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The symfony routing component allows us to use the path "/" for routes. Therefore, we should be able to use example.com/app.php/ for controllers. However, this currently does not properly work. The method get_web_root_path incorrectly returns phpbb_root_path. Therefore, paths to images or files are broken. PHPBB3-12004
* | | | [ticket/12398] Select correct post to restore during softdelete testsMarc Alexander2014-04-131-1/+1
| | | | | | | | | | | | | | | | PHPBB3-12398
* | | | [ticket/12398] Use return of submit_post in softdelete and download testsMarc Alexander2014-04-122-2/+2
| | | | | | | | | | | | | | | | PHPBB3-12398
* | | | [ticket/12398] Use submit_post return in prune_shadow_topic_testMarc Alexander2014-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This should get rid of possible failures during functional tests. PHPBB3-12398
* | | | [ticket/12395] Check for posts in the middle of the pageJoas Schilling2014-04-121-7/+7
| | | | | | | | | | | | | | | | PHPBB3-12395
* | | | [ticket/12211] Do not run attachment file names twice through htmlspecialcharsMarc Alexander2014-04-111-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upload filenames are already processed via htmlspecialchars in the type_cast_helper of the new request class. There is no need to run it through htmlspecialchars() again in the filespec class. PHPBB3-12211
* | | | [ticket/12386] Add DEBUG_EXTRA again and use it for container creationMarc Alexander2014-04-111-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are currently creating a new compiled container on every page load when having DEBUG enabled. However, one might only have that enabled to be presented with errors or for getting the page load stats. This change will add the DEBUG_EXTRA constant again. It will be used for choosing whether the compiled container should be created on every page load - when defined as true - or just once after the cache is cleared. PHPBB3-12386
* | | Merge remote-tracking branch 'github-nickvergessen/ticket/12370' into ↵Nils Adermann2014-04-104-7/+287
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12370: [ticket/12370] Add unit tests for topic notifications [ticket/12370] Fix functional notification test and remove unneeded requests [ticket/12370] Do not delete topic notifications when the topic is visible
| * | | [ticket/12370] Add unit tests for topic notificationsJoas Schilling2014-04-073-1/+284
| | | | | | | | | | | | | | | | PHPBB3-12370
| * | | [ticket/12370] Fix functional notification test and remove unneeded requestsJoas Schilling2014-04-071-6/+3
| | | | | | | | | | | | | | | | PHPBB3-12370
* | | | Merge remote-tracking branch 'github-nickvergessen/ticket/12367' into ↵Nils Adermann2014-04-101-15/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12367: [ticket/12367] Change phpbb_wrapper_gmgetdate_test to use data providers
| * | | | [ticket/12367] Change phpbb_wrapper_gmgetdate_test to use data providersJoas Schilling2014-04-061-15/+22
| |/ / / | | | | | | | | | | | | PHPBB3-12367
* | | | Merge remote-tracking branch 'github-nickvergessen/ticket/12113' into ↵Nils Adermann2014-04-102-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12113: [ticket/12113] Fix view_log() tests [ticket/12113] Correctly use plurals when deleting user warnings [ticket/12113] Allow log entries to use plurals
| * | | | [ticket/12113] Fix view_log() testsJoas Schilling2014-04-012-1/+6
| | | | | | | | | | | | | | | | | | | | PHPBB3-12113
* | | | | Merge remote-tracking branch 'github-nickvergessen/ticket/12331' into ↵Nils Adermann2014-04-101-0/+33
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12331: [ticket/12331] Add functional test for saving custom profile fields [ticket/12331] Fix SQL error when inserting a new entry to profile field data
| * | | | | [ticket/12331] Add functional test for saving custom profile fieldsJoas Schilling2014-04-011-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12331
* | | | | | Merge remote-tracking branch 'github-nickvergessen/ticket/12282' into ↵Nils Adermann2014-04-105-9/+33
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12282: [ticket/12282] Update new references [ticket/12282] Update container db mock [ticket/12282] Add new line at EOF of the interface [ticket/12282] Use interface for type hinting [ticket/12282] Use {@inheritDoc} for inherited methods [ticket/12282] Add Interface for DBAL drivers
| * | | | | | [ticket/12282] Update new referencesJoas Schilling2014-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12282
| * | | | | | [ticket/12282] Update container db mockJoas Schilling2014-04-011-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12282
| * | | | | | [ticket/12282] Use interface for type hintingJoas Schilling2014-04-013-4/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | PHPBB3-12282
* | | | | | Merge remote-tracking branch 'github-nickvergessen/ticket/11352' into ↵Nils Adermann2014-04-101-0/+319
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/11352: [ticket/11352] Add functional tests for disapproving a post/topic [ticket/11352] Redirect the user back to view*.php after disapproving
| * | | | | | [ticket/11352] Add functional tests for disapproving a post/topicJoas Schilling2014-04-071-0/+319
| | |_|/ / / | |/| | | | | | | | | | | | | | | | PHPBB3-11352
* | | | | | Merge remote-tracking branch 'nickvergessen/ticket/12349' into develop-ascraeusDhruv2014-04-0814-14/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joas Schilling # Via Joas Schilling * nickvergessen/ticket/12349: [ticket/12349] Fix Sniffer for @license tag [ticket/12349] Update license header in several new files
| * | | | | | [ticket/12349] Update license header in several new filesJoas Schilling2014-04-0314-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12349
* | | | | | | Merge remote-tracking branch 'Marc/ticket/12362' into develop-ascraeusJoas Schilling2014-04-071-0/+49
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Marc/ticket/12362: [ticket/12362] Do not use database test case as it's not needed [ticket/12362] Add tests for schema generator [ticket/12362] Throw exception in schema generator on unresolvable dependency
| * | | | | | [ticket/12362] Do not use database test case as it's not neededMarc Alexander2014-04-061-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12362
| * | | | | | [ticket/12362] Add tests for schema generatorMarc Alexander2014-04-061-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12362
* | | | | | | Merge remote-tracking branch 'Marc/ticket/12150' into develop-ascraeusJoas Schilling2014-04-061-0/+207
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Marc/ticket/12150: [ticket/12150] Use correct license URL in prune shadow migrations file [ticket/12150] Remove 'after' for columns from migrations file [ticket/12150] Update schema files for prune shadow topics [ticket/12150] Use log service instead of add_log() function [ticket/12150] Use shorter column names for prune settings [ticket/12150] Add functional tests for pruning shadow topics [ticket/12150] Add missing space to query for shadow topics [ticket/12150] Add missing prune settings variables in acp_forums [ticket/12150] Add file and caller for pruning shadow topics [ticket/12150] Add prune columns to schema files and migration file [ticket/12150] Add options to acp
| * | | | | | | [ticket/12150] Use shorter column names for prune settingsMarc Alexander2014-03-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All columns were renamed from having prune_shadow_topics as namebase to just prune_shadow. A missing column was also added to the migration file's remove_schema() method. PHPBB3-12150
| * | | | | | | [ticket/12150] Add functional tests for pruning shadow topicsMarc Alexander2014-03-291-0/+207
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | PHPBB3-12150
* | | | | | | [ticket/12354] Assert same instead of equal where necessary in passwords testsMarc Alexander2014-04-052-4/+4
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some tests we try to make sure that we do not get the same output in a limited timeframe. These tests should use assertSame/NotSame instead of assertEqual/NotEqual. PHPBB3-12354
* | | | | | Merge remote-tracking branch 'Marc/ticket/10851-ascraeus' into develop-ascraeusJoas Schilling2014-04-053-0/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Marc/ticket/10851-ascraeus: [ticket/10851] Request index instead of logging in and out in tests [ticket/10851] Add unit and functional tests for checking attachments [ticket/10851] Set disallowed content to empty array if checking is disabled
| * | | | | | [ticket/10851] Request index instead of logging in and out in testsMarc Alexander2014-04-041-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10851
| * | | | | | [ticket/10851] Add unit and functional tests for checking attachmentsMarc Alexander2014-04-043-0/+35
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests will make sure that fileuploads now work as expected regarding the check for disallowed content. PHPBB3-10851