aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal
Commit message (Collapse)AuthorAgeFilesLines
...
* [ticket/11852] Split filesystem and path_helper into 2 classesJoas Schilling2013-09-261-7/+1
| | | | PHPBB3-11852
* [ticket/11700] Fix unit tests after develop mergeNils Adermann2013-09-171-1/+1
| | | | PHPBB3-11700
* Merge remote-tracking branch 'github-phpbb/develop' into ticket/11700Nils Adermann2013-09-171-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-phpbb/develop: [ticket/11832] Correct paths in tests [ticket/11832] Correct ROOT_PATH variable [ticket/11832] get_url() from phpbb_template_asset should return web path [ticket/11832] Fix INCLUDE(JS/CSS) [ticket/11832] Fix constructions of phpbb_filesystem [ticket/11832] Fix smiley paths [ticket/11832] Create phpbb_symfony_request to handle initiating symfony_request [ticket/11832] Fix build_url and the S_LOGIN_ACTION [ticket/11832] Changing comments to say app.php rather than index.php [ticket/11832] We must instantiate the $phpbb_filesystem in common [ticket/11832] Fix the web path corrections [ticket/11832] More extensive testing [ticket/11832] Use dirname(__FILE__) [ticket/11832] Use $phpbb_filesystem instead of the container in append_sid Revert "[ticket/11832] Make $phpbb_container a global initiated by the framework" [ticket/11832] Make $phpbb_container a global initiated by the framework [ticket/11832] Fix log tests [ticket/11832] update_web_root_path helper and tests [ticket/11832] Inject dependencies for phpbb_get_web_root_path (also moving) Conflicts: phpBB/common.php phpBB/config/services.yml phpBB/includes/bbcode.php phpBB/includes/functions.php phpBB/includes/functions_messenger.php phpBB/install/index.php phpBB/phpbb/filesystem.php phpBB/phpbb/template/twig/environment.php phpBB/phpbb/template/twig/node/includeasset.php phpBB/phpbb/template/twig/twig.php tests/controller/helper_url_test.php tests/dbal/migrator_test.php tests/extension/manager_test.php tests/extension/metadata_manager_test.php tests/filesystem/clean_path_test.php tests/mock/extension_manager.php tests/template/template_events_test.php tests/template/template_test_case.php tests/template/template_test_case_with_tree.php tests/test_framework/phpbb_functional_test_case.php
| * [ticket/11832] Fix INCLUDE(JS/CSS)Nathan Guse2013-09-131-1/+2
| | | | | | | | PHPBB3-11832
| * [ticket/11832] Fix constructions of phpbb_filesystemNathan Guse2013-09-131-1/+6
| | | | | | | | PHPBB3-11832
| * [ticket/11832] Inject dependencies for phpbb_get_web_root_path (also moving)Nathan Guse2013-09-091-1/+1
| | | | | | | | | | | | Function moved from phpbb_get_web_root_path to filesystem::get_web_root_path PHPBB3-11832
* | [ticket/11700] Fix dbal tests after config namespace mishapNils Adermann2013-09-168-33/+33
| | | | | | | | PHPBB3-11700
* | [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-1619-60/+60
|/ | | | PHPBB3-11700
* [ticket/11696] Rename db_tools.php so it can be autoloadedJoas Schilling2013-07-143-4/+0
| | | | PHPBB3-11696
* [ticket/11698] Moving all autoloadable files to phpbb/Nils Adermann2013-07-144-9/+0
| | | | PHPBB3-11698
* Merge branch 'develop-olympus' into developNathaniel Guse2013-07-111-1/+6
|\ | | | | | | | | | | | | # By Igor Wiedler # Via Igor Wiedler (1) and Nathaniel Guse (1) * develop-olympus: [ticket/11644] Skip phpbb_dbal_order_lower_test on MySQL 5.6
| * [ticket/11644] Skip phpbb_dbal_order_lower_test on MySQL 5.6Igor Wiedler2013-07-111-1/+6
| | | | | | | | PHPBB3-11644
| * [ticket/11575] Correct test_cross_join() to test_order_lower().Andreas Fischer2013-05-271-1/+1
| | | | | | | | | | | | This test does not do any cross joining, it only tests ORDER BY LOWER(...). PHPBB3-11575
* | [ticket/11415] Fix ext.manager constructor in testsNathaniel Guse2013-05-031-1/+0
| | | | | | | | PHPBB3-11415
* | [ticket/11415] Remove migrator dependency from extension managerNathaniel Guse2013-05-011-1/+5
| | | | | | | | PHPBB3-11415
* | [ticket/11335] (tests) Make php_ext 'php' not '.php'Nathan Guse2013-04-241-1/+1
| | | | | | | | PHPBB3-11335
* | Merge pull request #1290 from nickvergessen/ticket/11362Nils Adermann2013-04-241-0/+1
|\ \ | | | | | | Correctly sanitise the directory path in finder
| * | [ticket/11362] Extension manager depends on filesystemJoas Schilling2013-04-171-0/+1
| | | | | | | | | | | | PHPBB3-11362
* | | [ticket/11501] Assert the variables instead of fail() with the conditionJoas Schilling2013-04-191-9/+2
| | | | | | | | | | | | PHPBB3-11501
* | | [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
* | | [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
* | | [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
* | [ticket/11386] Send list of migrations instead of using load_migrationsNathaniel Guse2013-03-031-10/+10
| | | | | | | | | | | | | | | | | | Remove dependency of extension manager for migrator. Keeping load_migrations function for others to use if they desire but requiring the finder be sent to it in order to use it. PHPBB3-11386
* | [ticket/11386] Fix failing tests from constructor changesNathaniel Guse2013-03-021-2/+3
| | | | | | | | PHPBB3-11386
* | [ticket/11386] Update tests with new constructors for ext.manager/migratorNathaniel Guse2013-03-021-1/+20
| | | | | | | | PHPBB3-11386
* | [feature/migrations] Function effectively_installed() in migrationsNathan Guse2013-01-132-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | Allows you to check if the migration is effectively installed (entirely optionall) This function is intended to help moving to migrations from a previous database updater, where some migrations may have been installed already even though they are not yet listed in the migrations table. PHPBB3-9737
* | [feature/migrations] Make the test depends_on methods staticNathan Guse2013-01-107-23/+3
| | | | | | | | PHPBB3-11318
* | [feature/migrations] Store depends on in the database (serialized)Nathan Guse2013-01-103-14/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required so that when migrations are reverted we can check through all installed migrations and make sure that all dependencies are handled properly and so that we are only required to load the migrations files that could be dependent on the ones installed. I believe in normal proper use the old way might have worked, but in case something happens and an unrelated migration file is installed, but cannot be loaded, this makes sure we do not stop everything unless we absolutely must (one of those files is dependent on something we want to revert). PHPBB3-9737
* | [feature/migrations] Basic reverting testNathan Guse2013-01-103-0/+115
| | | | | | | | PHPBB3-9737
* | [feature/migrations] Test for calling a step multiple timesNathan Guse2013-01-102-0/+66
| | | | | | | | | | | | | | | | | | This is used when a long-running process is needed during an update. For example, iterating over all posts and applying some transformation. This allows the process to be broken apart into multiple shorter steps to prevent hitting the time limit. PHPBB3-9737
* | [feature/migrations] Reverse data functionalityNathan Guse2013-01-093-4/+76
| | | | | | | | | | | | | | | | | | If data step fails, attempt to roll back any previous calls from the migration that failed. Fix some failing tests PHPBB3-9737
* | [feature/migrations] Fix if method (and create a test for it)Nathan Guse2013-01-093-19/+79
| | | | | | | | PHPBB3-9737
* | [feature/migrations] Migrations now somewhat worksNathan Guse2013-01-096-3/+443
| | | | | | | | PHPBB3-9737
* | [feature/migrations] Process migration steps and move to PHP5 codeNils Adermann2013-01-091-1/+8
| |
* | [feature/migrations] Standard vars for migrations and run sql with feedbackNils Adermann2013-01-091-1/+1
| | | | | | | | PHPBB3-9737
* | [feature/migrations] Return schema changes in database update style arrayNils Adermann2013-01-091-1/+7
| | | | | | | | | | | | | | Returning the set of schema changes allows potentially aggregating to generate the overall install schema automatically from a set of migrations PHPBB3-9737
* | [feature/migrations] Store start and end time of migrationsNils Adermann2013-01-091-6/+27
| | | | | | | | PHPBB3-9737