aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | [ticket/11405] Fix "only variables should be passed by reference"Joas Schilling2013-03-261-1/+3
| | | | | | | | | | | | | | | | PHPBB3-11405
| * | | [ticket/11405] Use different fixtures so it's not a total messJoas Schilling2013-03-264-123/+319
| | | | | | | | | | | | | | | | PHPBB3-11405
| * | | [ticket/11405] Add unit tests for bookmarkingJoas Schilling2013-03-262-0/+165
| | | | | | | | | | | | | | | | PHPBB3-11405
| * | | [ticket/11405] Move test to submit_post_base.php and use data sets for testingJoas Schilling2013-03-263-111/+155
| | | | | | | | | | | | | | | | PHPBB3-11405
| * | | [ticket/11405] Correctly prefill the tables (missed the posts and not-types)Joas Schilling2013-03-253-5/+39
| | | | | | | | | | | | | | | | PHPBB3-11405
| * | | [ticket/11405] Add a base class to avoid duplicated setUp() codeJoas Schilling2013-03-253-154/+102
| | | | | | | | | | | | | | | | PHPBB3-11405
| * | | [ticket/11405] Add unit tests for quoted users notificationsJoas Schilling2013-03-253-1/+279
| | | | | | | | | | | | | | | | PHPBB3-11405
| * | | [ticket/11405] Fix some coding style issuesJoas Schilling2013-03-251-7/+10
| | | | | | | | | | | | | | | | PHPBB3-11405
| * | | [ticket/11405] Send post notifications to forum subscribersJoas Schilling2013-03-251-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Like in 3.0 we should also send notifications about new posts to users that subscribed to the forum. (Subscriptions are verbose) PHPBB3-11405
| * | | [ticket/11405] Add some basic tests for notifications in submit_post()Joas Schilling2013-03-232-0/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Poster, should NOT receive a notification Topic subscribed, should receive a notification Topic subscribed, but unauthed to read, should NOT receive a notification Topic subscribed, but already notified, should NOT receive a new notification Topic and forum subscribed, should receive ONE notification Forum subscribed, should receive a notification Forum subscribed, but already notified, should NOT receive a new notification PHPBB3-11405
* | | | [ticket/11469] Add more table status assertions.Andreas Fischer2013-03-281-0/+2
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Remove comments. Method names should be good enough now.Andreas Fischer2013-03-281-27/+0
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Do not repeat markTestSkipped() message.Andreas Fischer2013-03-281-12/+11
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Refactor get_three_rows() into get_rows($n).Andreas Fischer2013-03-281-8/+9
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Fix spacing in getDataSet().Andreas Fischer2013-03-281-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Do not repeat assert_config_count(2). Also move to setUp().Andreas Fischer2013-03-281-12/+1
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Use setUp() to setup DB and a buffer with size 2.Andreas Fischer2013-03-281-57/+47
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Do not repeat row generation.Andreas Fischer2013-03-281-45/+18
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Do not repeat array with three rows.Andreas Fischer2013-03-281-34/+23
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Move protected method to end of test file.Andreas Fischer2013-03-281-9/+9
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Check return values of the functionsJoas Schilling2013-03-271-19/+19
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | [ticket/11469] Split tests and skip multi_insert if unavailableJoas Schilling2013-03-271-44/+95
| | | | | | | | | | | | | | | | PHPBB3-11469
* | | | Merge remote-tracking branch 'nickvergessen/ticket/bantu/11469' into ↵Andreas Fischer2013-03-271-0/+149
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ticket/11469 * nickvergessen/ticket/bantu/11469: [ticket/11469] Use method to check config count, instead of repeating it [ticket/11469] Return after sql_multi_insert when multi_insert is false [ticket/11469] Add some basic unit tests for phpbb_db_sql_insert_buffer
| * | | | [ticket/11469] Use method to check config count, instead of repeating itJoas Schilling2013-03-271-45/+18
| | | | | | | | | | | | | | | | | | | | PHPBB3-11469
| * | | | [ticket/11469] Add some basic unit tests for phpbb_db_sql_insert_bufferJoas Schilling2013-03-271-0/+176
| |/ / / | | | | | | | | | | | | PHPBB3-11469
* | | | Merge remote-tracking branch 'github-bantu/ticket/11460' into developNils Adermann2013-03-272-6/+126
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * github-bantu/ticket/11460: [ticket/11460] Add default behaviour tests for notification and email types. [ticket/11460] Configure functional test board email using dummy SMTP data. [ticket/11460] Add test for whether post_email and topic_email are checked. [ticket/11460] Add methods for checkbox handling to phpbb_functional_test_case. [ticket/11460] Drop incorrect phpbb_notification_{type,method}_ prefix.
| * | | [ticket/11460] Add default behaviour tests for notification and email types.Andreas Fischer2013-03-241-2/+12
| | | | | | | | | | | | | | | | PHPBB3-11460
| * | | [ticket/11460] Configure functional test board email using dummy SMTP data.Andreas Fischer2013-03-221-6/+6
| | | | | | | | | | | | | | | | PHPBB3-11460
| * | | [ticket/11460] Add test for whether post_email and topic_email are checked.Andreas Fischer2013-03-221-0/+46
| | | | | | | | | | | | | | | | PHPBB3-11460
| * | | [ticket/11460] Add methods for checkbox handling to phpbb_functional_test_case.Andreas Fischer2013-03-211-0/+64
| | | | | | | | | | | | | | | | PHPBB3-11460
* | | | [ticket/11457] Remove check and include for set_var function. It's not used.Andreas Fischer2013-03-171-5/+0
|/ / / | | | | | | | | | PHPBB3-11457
* | | Merge remote-tracking branch 'nickvergessen/ticket/11443' into developAndreas Fischer2013-03-162-1/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/11443: [ticket/11443] Fix Migrator Modules Tool by creating a phpbb_log object [ticket/11443] Add _test suffix to migration test filenames
| * | | [ticket/11443] Fix Migrator Modules Tool by creating a phpbb_log objectJoas Schilling2013-03-161-1/+6
| | | | | | | | | | | | | | | | PHPBB3-11443
| * | | [ticket/11443] Add _test suffix to migration test filenamesJoas Schilling2013-03-152-0/+0
| | | | | | | | | | | | | | | | PHPBB3-11443
* | | | Merge remote-tracking branch 'bantu/ticket/11441' into developJoas Schilling2013-03-152-49/+63
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/11441: [ticket/11441] Split user loader tests into multiple test methods. [ticket/11441] Use setUp() in phpbb_user_loader_test. [ticket/11441] Update/correct copyright year of user loader test. [ticket/11441] Correct/fix class name of user loader test. [ticket/11441] Add _test prefix to user loader test filename.
| * | | [ticket/11441] Split user loader tests into multiple test methods.Andreas Fischer2013-03-151-2/+9
| | | | | | | | | | | | | | | | PHPBB3-11441
| * | | [ticket/11441] Use setUp() in phpbb_user_loader_test.Andreas Fischer2013-03-151-10/+17
| | | | | | | | | | | | | | | | PHPBB3-11441
| * | | [ticket/11441] Update/correct copyright year of user loader test.Andreas Fischer2013-03-151-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11441
| * | | [ticket/11441] Correct/fix class name of user loader test.Andreas Fischer2013-03-151-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11441
| * | | [ticket/11441] Add _test prefix to user loader test filename.Andreas Fischer2013-03-151-0/+0
| | | | | | | | | | | | | | | | PHPBB3-11441
* | | | [ticket/11439] Add _test suffix to notification test filename.Andreas Fischer2013-03-151-0/+0
|/ / / | | | | | | | | | PHPBB3-11439
* | | Merge remote-tracking branch 'remotes/Marc/ticket/11404' into developNathan Guse2013-03-121-90/+160
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | # By Marc Alexander # Via Marc Alexander * remotes/Marc/ticket/11404: [ticket/11404] Remove version ID from manager_test.php file header [ticket/11404] Add tests for phpbb_avatar_manager::clean_row() [ticket/11404] Convert manager_test to UNIX line endings [ticket/11404] Use a default data row if $row is empty in clean_row() [ticket/11404] Return empty array of avatar data if $row is empty
| * | [ticket/11404] Remove version ID from manager_test.php file headerMarc Alexander2013-03-111-1/+0
| | | | | | | | | | | | PHPBB3-11404
| * | [ticket/11404] Add tests for phpbb_avatar_manager::clean_row()Marc Alexander2013-03-111-0/+71
| | | | | | | | | | | | PHPBB3-11404
| * | [ticket/11404] Convert manager_test to UNIX line endingsMarc Alexander2013-03-111-90/+90
| | | | | | | | | | | | PHPBB3-11404
* | | Merge remote-tracking branch 'remotes/marc/ticket/11323' into developNathaniel Guse2013-03-091-3/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Marc Alexander # Via Marc Alexander * remotes/marc/ticket/11323: [ticket/11323] Reduce additional code and revert regex to previous one [ticket/11323] Enable tests for inclusion of defined variables [ticket/11323] Correctly treat variables in template defines
| * | | [ticket/11323] Enable tests for inclusion of defined variablesMarc Alexander2013-02-191-3/+0
| | | | | | | | | | | | | | | | PHPBB3-11323
* | | | [ticket/10202] Rename method names _all() to _array().Andreas Fischer2013-03-051-11/+11
| | | | | | | | | | | | | | | | PHPBB3-10202
* | | | [ticket/10202] Add tests for phpbb_config_db_text.Andreas Fischer2013-03-052-0/+134
| |/ / |/| | | | | | | | PHPBB3-10202
* | | Merge remote-tracking branch 'remotes/nickv/ticket/10714' into developNathaniel Guse2013-03-046-1/+808
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joas Schilling # Via Joas Schilling * remotes/nickv/ticket/10714: (56 commits) [ticket/10714] Get log from container in install, update and download/file [ticket/10714] Use $phpbb_adm_relative_path instead of hardcoded adm/ [ticket/10714] Logs are disabled for this page call only [ticket/10714] Update add_log docs block with @param and @deprecated [ticket/10714] Remove fallback code from previous commits and move global [ticket/10714] Fix missing parameter and global phpbb_log in unit tests [ticket/10714] Add getter for is_in_admin and use it [ticket/10714] Fix more comments [ticket/10714] Cast values to integer before using them in the query [ticket/10714] Fix several doc blocks and comments [ticket/10714] Fix missing 8th argument in unit tests [ticket/10714] Use new core.adm_relative_path to create the object. [ticket/10714] Fix several comments and variable names [ticket/10714] Fix database driver class name [ticket/10714] Forgot most important, use container to create $phpbb_log [ticket/10714] Remove type hinting to allow the usage of mocks in tests [ticket/10714] Fix dependency injections in unit tests with mocks [ticket/10714] Use dependencies instead of globals [ticket/10714] Compare log_type to false, rather then null [ticket/10714] Add global variables for the unit tests ...