aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/migrator_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14948] Adjust calls for twig and phpunit updatesMarc Alexander2019-05-091-1/+1
| | | | PHPBB3-14948
* [ticket/15274] Allow "custom" migrations to use parametersjaviexin2019-05-081-0/+50
| | | | | | | Add the possibility to have custom migrations with parameters, allowing the use of a single function for several uses. PHPBB3-15274
* [ticket/15396] Added test for correct order of revert_schema() stepskasimi2017-10-141-0/+45
| | | | PHPBB3-15396
* Merge branch 'ticket/14742' into ticket/14742-32xOliver Schramm2016-08-111-0/+8
|\
| * [ticket/14742] Add test for (not) reverting ifOliver Schramm2016-08-111-0/+8
| | | | | | | | PHPBB3-14742
* | [ticket/14576] Move common required files to bootstrapMatt Friedman2016-03-311-1/+0
| | | | | | | | PHPBB3-14576
* | [ticket/13793] Remove translation on throwing exceptionsMateBartus2015-05-011-2/+0
| | | | | | | | PHPBB3-13793
* | [ticket/13697] Moving filesystem related functions to filesystem serviceMateBartus2015-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moving filesystem service to \phpbb\filesystem namespace * Wraping Symfony's Filesystem component * Moving filesystem related functions from includes/functions.php into \phpbb\filesystem\filesystem Functions moved (and deprecated): - phpbb_chmod - phpbb_is_writable - phpbb_is_absolute - phpbb_own_realpath - phpbb_realpath * Adding interface for filesystem service PHPBB3-13697
* | [ticket/10748] Replace direct creations of tools();Joas Schilling2015-02-071-1/+2
| | | | | | | | PHPBB3-10748
* | Merge branch 'develop-ascraeus' into developJoas Schilling2015-01-201-3/+5
|\ \ | |/ | | | | | | | | | | Conflicts: phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php phpBB/phpbb/db/migration/profilefield_base_migration.php phpBB/phpbb/db/migrator.php
| * [ticket/13489] Fix testsTristan Darricau2015-01-141-3/+5
| | | | | | | | PHPBB3-13489
* | [ticket/13421] Move tools to subdirectoryJoas Schilling2014-12-061-1/+1
|/ | | | PHPBB3-13421
* [ticket/13064] Revert "[ticket/13064] Validate the migrations provided to ..."Joas Schilling2014-09-171-9/+1
| | | | | | This reverts commit 46a9fe93d797bf7d56fd9b1e204f3c0459270122. PHPBB3-13064
* [ticket/13064] Validate the migrations provided to migrator::set_migrations()Tristan Darricau2014-09-141-1/+9
| | | | PHPBB3-13064
* [ticket/12932] Fix tests and calls to create_datetimeMarc Alexander2014-08-101-1/+1
| | | | PHPBB3-12932
* [ticket/11467] Add user object to extension manager for testsn-aleha2014-05-291-0/+2
| | | | PHPBB3-11467
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | PHPBB3-12594
* [ticket/12432] Correcting the assertionNicofuma2014-04-261-4/+1
| | | | PHPBB3-12432
* [ticket/12432] Adding unit testNicofuma2014-04-261-0/+9
| | | | PHPBB3-12432
* [ticket/12349] Update license header in several new filesJoas Schilling2014-04-031-1/+1
| | | | PHPBB3-12349
* [ticket/12170] Assign schema keys in migration helper with data_depth 1Marc Alexander2014-02-071-0/+2
| | | | | | | | | The migration helper currently drops any keys with schema changes that have the data_depth 1. This change will correctly assign the keys to the steps array without dropping the keys that might contain important info like the actual table that should be created. PHPBB3-12170
* [ticket/11880] Move get_schema_steps function to a migrator helper classNathan Guse2014-02-051-1/+2
| | | | PHPBB3-11880
* [ticket/11880] Break up schema changes in the migratorNathan Guse2014-02-031-0/+20
| | | | PHPBB3-11880
* [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-161-8/+8
| | | | | | | | PHPBB3-11700
* | [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-14/+14
|/ | | | PHPBB3-11700
* [ticket/11696] Rename db_tools.php so it can be autoloadedJoas Schilling2013-07-141-2/+0
| | | | PHPBB3-11696
* [ticket/11698] Moving all autoloadable files to phpbb/Nils Adermann2013-07-141-2/+0
| | | | PHPBB3-11698
* [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/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-131-0/+21
| | | | | | | | | | | | 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] Store depends on in the database (serialized)Nathan Guse2013-01-101-14/+43
| | | | | | | | | | | | | | 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-101-0/+54
| | | | PHPBB3-9737
* [feature/migrations] Test for calling a step multiple timesNathan Guse2013-01-101-0/+23
| | | | | | | | | 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] Fix if method (and create a test for it)Nathan Guse2013-01-091-6/+29
| | | | PHPBB3-9737
* [feature/migrations] Migrations now somewhat worksNathan Guse2013-01-091-3/+9
| | | | PHPBB3-9737
* [feature/migrations] Standard vars for migrations and run sql with feedbackNils Adermann2013-01-091-1/+1
| | | | PHPBB3-9737
* [feature/migrations] Store start and end time of migrationsNils Adermann2013-01-091-6/+27
| | | | PHPBB3-9737