aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [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
* | | | [ticket/12350] Instantiate Mock Dispatcher for modules_testK Fisher2014-04-031-1/+3
|/ / / | | | | | | | | | PHPBB3-12350
* | | Merge remote-tracking branch 'Elsensee/ticket/12341-ascraeus' into ↵Joas Schilling2014-04-031-0/+126
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * Elsensee/ticket/12341-ascraeus: [ticket/12341] Update test with new class name and dependencies [ticket/12341] Add tests for get_username_string()
| * | | [ticket/12341] Update test with new class name and dependenciesOliver Schramm2014-04-021-2/+3
| | | | | | | | | | | | | | | | PHPBB3-12341
| * | | Merge branch 'ticket/12341' into ticket/12341-ascraeusOliver Schramm2014-04-021-0/+125
| |\ \ \ | | |_|/ | |/| |
| | * | [ticket/12341] Add tests for get_username_string()Oliver Schramm2014-04-011-0/+125
| | | | | | | | | | | | | | | | PHPBB3-12341
* | | | Merge remote-tracking branch 'vsephpbb/ticket/12043' into develop-ascraeusJoas Schilling2014-04-031-5/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | * vsephpbb/ticket/12043: [ticket/12043] Fix order of disabled extensions in unit tests [ticket/12043] Correct try/catch exceptions for invalid extensions [ticket/12043] Sort Extensions by Display Name in ACP Extension mananger
| * | | [ticket/12043] Fix order of disabled extensions in unit testsMatt Friedman2014-03-291-5/+5
| | | | | | | | | | | | | | | | PHPBB3-12043
* | | | Merge remote-tracking branch 'crizz0/ticket/9758' into develop-ascraeusJoas Schilling2014-03-312-3/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * crizz0/ticket/9758: [ticket/9758] Clickable avatar in header and renamed class for avatar-img [ticket/9758] Remove unnessary if-question for include functions_display [ticket/9758] Slims the line 4775 in includes/functions.php [ticket/9758] Adds id and changes filter to fix travis CI test [ticket/9758] Removed the needless space after first ENDIF [ticket/9758] Adding impr. for overall_header display of avatar and username [ticket/9758] Fixed bug in mcp_warn.php [ticket/9758] Optimises the html code of avatar image in header [ticket/9758] Error because of missing functions_display.php fixed [ticket/9758] Removed useless if-conditions to include functions.php [ticket/9758] Changes class name of new "span" in overall_header.html [ticket/9758] Adds global template variable CURRENT_USER_AVATAR
| * | | [ticket/9758] Adds id and changes filter to fix travis CI testCrizzo2014-03-282-3/+3
| | | | | | | | | | | | | | | | PHPBB3-9758
* | | | Merge remote-tracking branch 'github-nickvergessen/ticket/11459' into ↵Nils Adermann2014-03-293-5/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/11459: (21 commits) [ticket/11459] Make 3.1.0-dev migration depend on migrations_table [ticket/11459] Move $supported_dbms to beginning of create schema file [ticket/11459] Fix missing constant CONFIG_TABLE for sql_create_index() [ticket/11459] Fix auth provider test [ticket/11459] Correctly set up the database from schema in unit tests [ticket/11459] Install DB schema from json file [ticket/11459] Clean up a little more [ticket/11459] Do not add table schema to database schema files [ticket/11459] Create schema.json from migration files [ticket/11459] Do not take files of extensions into account [ticket/11459] Pass array with migration class names to schema generator [ticket/11459] Refresh schema files [ticket/11459] Remove spaces from the end of lines in MSSQL [ticket/11459] Correctly handle index column length [ticket/11459] Add migration for migrations table [ticket/11459] Update doc blocks [ticket/11459] Remove old schema file [ticket/11459] Update schema files with new script [ticket/11459] Use new migration/schema_generator to create schema files [ticket/11459] Add Schema from 3.0.0 ...
| * | | | [ticket/11459] Fix auth provider testJoas Schilling2014-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user_timezone has no default value anymore PHPBB3-11459
| * | | | [ticket/11459] Correctly set up the database from schema in unit testsJoas Schilling2014-03-292-4/+21
| | |/ / | |/| | | | | | | | | | PHPBB3-11459
* | | | Merge remote-tracking branch 'prototech/ticket/11959' into develop-ascraeusJoas Schilling2014-03-294-0/+286
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * prototech/ticket/11959: [ticket/11959] Move phpbb_generate_string_list() to functions_content.php. [ticket/11959] Add unit tests. [ticket/11959] Remove use of plurals and make it possible to use Oxford comma. [ticket/11959] Rename phpbb_gen_string_list() & fix incorrect var name. [ticket/11959] Simplify how the users are trimmed. [ticket/11959] Add function to create a string list. [ticket/11959] Add samples for the untrimmed strings. [ticket/11959] List the last user with "and" instead of a comma. [ticket/11959] Use the plurals system for the untrimmed language strings. [ticket/11959] Fix the NOTIFICATION_QUOTE_TRIMMED text. [ticket/11959] Use plurals for the language strings.
| * | | [ticket/11959] Move phpbb_generate_string_list() to functions_content.php.Cesar G2014-03-291-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11959
| * | | [ticket/11959] Add unit tests.Cesar G2014-03-194-0/+286
| | | | | | | | | | | | | | | | PHPBB3-11959
* | | | Merge pull request #2194 from bantu/ticket/12317Nils Adermann2014-03-284-9/+4
|\ \ \ \ | | | | | | | | | | [ticket/12317] Fix notification tests for DBMS drivers using int for integers ;-)
| * | | | [ticket/12317] Fix notification tests for DBMSes returning integers as int.Andreas Fischer2014-03-283-3/+3
| | | | | | | | | | | | | | | | | | | | PHPBB3-12317
| * | | | [ticket/12317] Do not repeat SQL query in notification_submit_post_base.Andreas Fischer2014-03-281-6/+1
| | |/ / | |/| | | | | | | | | | PHPBB3-12317