aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12844] Don't clear $dbpasswd early in connection managerTristan Darricau2014-07-131-1/+0
| | | | PHPBB3-12844
* Merge pull request #2671 from Nicofuma/ticket/12775Andreas Fischer2014-07-111-13/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12775] Replace functions_container with a container_builder class. * Nicofuma/ticket/12775: (34 commits) [ticket/12775] Set dbal.conn.driver as synthetic during installation [ticket/12775] Add the definition of dbal.conn in fixtures/config/services.yml [ticket/12775] Inject the connection when created in the container [ticket/12775] Extract the vars later in install/install_update.php [ticket/12775] Rename config_php_handler to config_php_file container_builder [ticket/12775] Set defined_vars as a property of config_php_file [ticket/12775] Fix doc blocks in the container builder [ticket/12775] Remove useless includes of config.php [ticket/12775] Move phpbb_convert_30_dbms_to_31 into the config file class [ticket/12775] Fix comments [ticket/12775] Update doc blocks [ticket/12775] Fix container_builder [ticket/12775] Rename config_php to config_php_file [ticket/12775] Renamed to \phpbb\di\container_builder [ticket/12775] Remove the last include of functions_container [ticket/12775] Fix unit tests [ticket/12775] Add tests for \phpbb\config_php [ticket/12775] Add tests for the container factory [ticket/12775] Use a field instead of a local var in load_config_var() [ticket/12775] Update container and config in install/ ...
| * [ticket/12775] Move phpbb_convert_30_dbms_to_31 into the config file classTristan Darricau2014-07-071-13/+7
| | | | | | | | PHPBB3-12775
* | Merge pull request #2676 from Nicofuma/ticket/12787Joas Schilling2014-07-081-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12787] Allow the route to say that the referer has to be used. * Nicofuma/ticket/12787: [ticket/12787] Updates phpbb_mock_controller_helper [ticket/12787] Add controller_helper::get_current_url() [ticket/12787] Remove one app.php when it's both in $path and $web_root_path [ticket/12787] Fix the absolute board url [ticket/12787] Use a parameter (_referer) instead of the Referer header [ticket/12099] Add unit tests for get_web_root_path_from_ajax_referer() [ticket/12099] Remove config again [ticket/12099] Correctly fix the path when performing AJAX requests [ticket/12099] Add request argument to path_helper service
| * [ticket/12099] Remove config againJoas Schilling2014-06-291-1/+0
| | | | | | | | PHPBB3-12099
| * [ticket/12099] Add request argument to path_helper servicePico882014-06-291-0/+2
| | | | | | | | PHPBB3-12099
* | [ticket/12013] Fix functional tests and sniffer issue.Cesar G2014-07-041-5/+22
|/ | | | PHPBB3-12013
* [ticket/12763] Remove empty schema filesJoas Schilling2014-06-231-6/+9
| | | | PHPBB3-12763
* Merge pull request #2587 from dhruvgoel92/ticket/11528Andreas Fischer2014-06-232-158/+207
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/11528] Refactor install_board( ) into a new mink class * dhruvgoel92/ticket/11528: [ticket/11528] Change click_submit() to accept id as param [ticket/11528] Handle case when config file cant be written by installer [ticket/11528] Change NULL to null [ticket/11528] Fix spaces and slashes as per guidelines [ticket/11528] Add asserts in installation steps [ticket/11528] Use 'use' keyword to import classes to current scope [ticket/11528] Move parent::tearDown() to end of tearDown() [ticket/11528] Call parent::tearDown in overrided tearDown method [ticket/11528] Instantiate $client, $driver from functional test case [ticket/11528] Refactor install_board() code into a new class [ticket/11528] Add behat/mink and mink-goutte-driver as dependency
| * [ticket/11528] Change click_submit() to accept id as paramDhruv2014-06-231-2/+2
| | | | | | | | PHPBB3-11528
| * [ticket/11528] Handle case when config file cant be written by installerDhruv2014-06-231-1/+6
| | | | | | | | PHPBB3-11528
| * [ticket/11528] Change NULL to nullDhruv2014-06-231-1/+1
| | | | | | | | PHPBB3-11528
| * [ticket/11528] Fix spaces and slashes as per guidelinesDhruv2014-06-232-4/+4
| | | | | | | | PHPBB3-11528
| * [ticket/11528] Add asserts in installation stepsDhruv2014-06-231-1/+19
| | | | | | | | PHPBB3-11528
| * [ticket/11528] Use 'use' keyword to import classes to current scopeDhruv2014-06-231-2/+4
| | | | | | | | PHPBB3-11528
| * [ticket/11528] Move parent::tearDown() to end of tearDown()Dhruv2014-06-232-3/+2
| | | | | | | | PHPBB3-11528
| * [ticket/11528] Instantiate $client, $driver from functional test caseDhruv2014-06-232-130/+49
| | | | | | | | | | | | | | Make mink test case an abstract class, instantiate $driver, $client from its child class i.e. functional test case. PHPBB3-11528
| * [ticket/11528] Refactor install_board() code into a new classDhruv2014-06-232-149/+255
| | | | | | | | PHPBB3-11528
* | [ticket/12747] Remove some methods which are not used anymoreJoas Schilling2014-06-221-12/+0
| | | | | | | | PHPBB3-12747
* | [ticket/12747] Drop support for FirebirdJoas Schilling2014-06-203-54/+2
|/ | | | PHPBB3-12747
* Merge pull request #2566 from marc1706/ticket/11711Joas Schilling2014-06-201-1/+9
|\ | | | | | | | | | | | | | | | | | | [ticket/11711] Inform user of unsupported characters while posting * marc1706/ticket/11711: [ticket/11711] Improve coding and comments of character check [ticket/11711] Reduce size of tests and also test topic titles [ticket/11711] Improve checks for unsupported characters and check subject [ticket/11711] Inform user of unsupported characters while posting
| * [ticket/11711] Improve coding and comments of character checkMarc Alexander2014-06-101-7/+10
| | | | | | | | PHPBB3-11711
| * [ticket/11711] Reduce size of tests and also test topic titlesMarc Alexander2014-06-091-1/+6
| | | | | | | | PHPBB3-11711
* | [ticket/12697] Delete cached extension schema.json files after testingMatt Friedman2014-06-121-0/+1
| | | | | | | | PHPBB3-12697
* | [ticket/12483] Fix selectors for installing extensions in functional testsJoas Schilling2014-06-101-2/+3
| | | | | | | | PHPBB3-12483
* | [ticket/12483] Remove unused globalsJoas Schilling2014-06-101-2/+0
| | | | | | | | PHPBB3-12483
* | [ticket/12483] Fix finder usage when generating the schema.json fileJoas Schilling2014-06-101-4/+3
| | | | | | | | PHPBB3-12483
* | [ticket/12483] Use file_put_contents()Joas Schilling2014-06-101-3/+1
| | | | | | | | PHPBB3-12483
* | [ticket/12483] Close database connection when tearDown() is calledJoas Schilling2014-06-101-0/+11
| | | | | | | | | | | | Similar to phpbb_database_test_case::tearDown() PHPBB3-12483
* | [ticket/12483] Require the extension manager classJoas Schilling2014-06-101-0/+2
| | | | | | | | PHPBB3-12483
* | [ticket/12483] Move schema files into tmp/ and only copy them when neededJoas Schilling2014-06-101-22/+30
| | | | | | | | PHPBB3-12483
* | [ticket/12483] Allow to setup extensions before database and functional testsJoas Schilling2014-06-102-0/+120
|/ | | | PHPBB3-12483
* [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-278-27/+59
| | | | PHPBB3-12594
* [feature/sqlite3] Use SQLite3 by defaultJoas Schilling2014-05-021-7/+7
| | | | PHPBB3-9728
* [feature/sqlite3] Add support for SQLite 3Patrick Webster2014-05-022-0/+34
| | | | | | | Minimum version requirement is 3.6.15 as that's what ships with PHP 5.3.0 when support for SQLite 3 was added. PHPBB3-9728
* Merge pull request #2288 from nickvergessen/ticket/12012Andreas Fischer2014-04-251-1/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12012] Correctly drop default value constraints * nickvergessen/ticket/12012: [ticket/12012] Move property to the top [ticket/12012] Move MS SQL server comparison into a method [ticket/12012] Fix docs in connection manager [ticket/12012] Remove duplicated code (only the $sql are different) [ticket/12012] Handle begin and commit transactions in tests [ticket/12012] Drop and recreate indexes when removing columns [ticket/12012] Add a unit test for removing a column with indexes [ticket/12012] Add a unit test for changing the column type [ticket/12012] Return SQL statements for index drop/create [ticket/12012] Fix tools::mssql_get_existing_indexes() for SQL Server 2000 [ticket/12012] Drop and recreate indexes when changing a column on MSSQL [ticket/12012] Fix query layout [ticket/12012] Correctly drop default value constraints on MSSQL
| * [ticket/12012] Fix docs in connection managerJoas Schilling2014-04-201-1/+3
| | | | | | | | PHPBB3-12012
| * [ticket/12012] Handle begin and commit transactions in testsJoas Schilling2014-04-171-1/+14
| | | | | | | | PHPBB3-12012
* | [ticket/12436] Data passed to sql_multi_insert is expected to be multi-dim.Andreas Fischer2014-04-241-2/+2
| | | | | | | | PHPBB3-12436
* | [ticket/12405] Valid timezone and dateformat for create_user() in testsMatt Friedman2014-04-191-2/+2
|/ | | | PHPBB3-12405
* [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
* [ticket/12282] Update new referencesJoas Schilling2014-04-011-1/+1
| | | | PHPBB3-12282
* [ticket/12282] Use interface for type hintingJoas Schilling2014-04-011-1/+1
| | | | PHPBB3-12282
* [ticket/11459] Correctly set up the database from schema in unit testsJoas Schilling2014-03-292-4/+21
| | | | PHPBB3-11459
* [ticket/10590] Fix functional tests are post confirm message removalJoas Schilling2014-03-181-10/+10
| | | | PHPBB3-10590
* Merge remote-tracking branch 'dhruv/ticket/11040' into developJoas Schilling2014-03-141-0/+46
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dhruv/ticket/11040: [ticket/11040] Topic is deleted if test is skipped [ticket/11040] Use unique text for the test post added [ticket/11040] Use hard delete in delete_topic [ticket/11040] Add migration to drop postgres search indexes [ticket/11040] Delete the functional test topic to avoid conflicts [ticket/11040] Add methods to delete post and topic in functional tests [ticket/11040] Swap post_text and post_subject for post_content index [ticket/11040] Add test cases for searching subject and post content together [ticket/11040] Remove postgres extra indexes [ticket/11040] Add post_content index [ticket/11040] Search subject and text together
| * [ticket/11040] Use hard delete in delete_topicDhruv2014-03-121-0/+2
| | | | | | | | PHPBB3-11040
| * [ticket/11040] Add methods to delete post and topic in functional testsDhruv2014-03-121-0/+44
| | | | | | | | PHPBB3-11040
* | Merge pull request #2109 from nickvergessen/ticket/11581Nathan Guse2014-03-131-3/+15
|\ \ | | | | | | [ticket/11581] Hide categories on level 0 when they have no visible children