aboutsummaryrefslogtreecommitdiffstats
path: root/tests/session
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11700] Fix tests after merging new develop codeNils Adermann2013-09-162-14/+14
| | | | PHPBB3-11700
* Merge remote-tracking branch 'github-phpbb/develop' into ticket/11700Nils Adermann2013-09-1617-204/+921
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-phpbb/develop: (586 commits) [ticket/11735] Display disabled checkbox in subsilver for read notifications [ticket/11735] Display disabled checkbox when notification is already read [ticket/11844] update acp/authentication language var [ticket/11795] Remove PM popup [ticket/11795] Remove outdated comment from forum_fn.js [ticket/11795] Move find user JS to forum_fn [ticket/11795] Replace TWIG with phpBB syntax in ACP [ticket/11795] Move MSN scripts to forum_fn.js [ticket/11795] Use phpBB template syntax instead of TWIG [ticket/11795] Move PM popup JS to forum_fn.js [ticket/11795] Get rid of pagination JS variables [ticket/11795] Get rid of onload_functions [ticket/11795] Use data-reset-on-edit attr to reset elements [ticket/11795] Redo form elements auto-focus [ticket/11811] Remove outline on :focus [ticket/11836] Fix subsilver fatal error [ticket/11837] Replace escaped single quote with utf-8 single quote [ticket/11836] Fix fatal error on unsupported provider for auth link [ticket/11837] Translate UCP_AUTH_LINK_NOT_SUPPORTED [ticket/11809] Ensure code.js is first script included after jQuery ... Conflicts: phpBB/config/services.yml phpBB/develop/create_schema_files.php phpBB/develop/mysql_upgrader.php phpBB/download/file.php phpBB/includes/bbcode.php phpBB/includes/functions_container.php phpBB/install/database_update.php phpBB/install/index.php phpBB/phpbb/controller/helper.php phpBB/phpbb/controller/resolver.php phpBB/phpbb/request/request_interface.php phpBB/phpbb/session.php phpBB/phpbb/style/extension_path_provider.php phpBB/phpbb/style/path_provider.php phpBB/phpbb/style/path_provider_interface.php phpBB/phpbb/style/resource_locator.php phpBB/phpbb/style/style.php phpBB/phpbb/template/locator.php phpBB/phpbb/template/template.php phpBB/phpbb/template/twig/node/includeasset.php phpBB/phpbb/template/twig/node/includecss.php phpBB/phpbb/template/twig/node/includejs.php phpBB/phpbb/template/twig/twig.php tests/controller/helper_url_test.php tests/di/create_container_test.php tests/extension/style_path_provider_test.php tests/notification/notification_test.php tests/session/continue_test.php tests/session/creation_test.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/11620] Whitespace and combine function into test_caseAndy Chase2013-07-225-35/+17
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Move check_ban_test functions to setUp/tearDown for clarityAndy Chase2013-07-221-10/+26
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Changed incorrect global variableAndy Chase2013-07-221-2/+2
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Minor indentation changes and comment clarityAndy Chase2013-07-222-7/+5
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Expected and actual test conditions wrongly swappedAndy Chase2013-07-221-1/+1
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Space between . in directory import concatenationAndy Chase2013-07-229-9/+9
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Changes to match mergeAndy Chase2013-07-222-1/+4
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Changes for code guidelines consistencyAndy Chase2013-07-223-13/+15
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Cleanup creation_test that was renamed on a cherry-pickasperous2013-07-221-69/+0
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Added garbage_collection_testasperous2013-07-222-0/+121
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Fixed check_ban_test errors with cache and ban warning messageasperous2013-07-221-6/+18
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Fixed a typo on check_ban_testasperous2013-07-221-1/+1
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Refactored check_isvalid_test to use session_test_caseasperous2013-07-221-20/+6
| | | | | | | | | | | | | | Since the continue->isvalid refactoring is now in a branch with the session_test_case framework, this test can be refactored to use that framework. PHPBB3-11620
| * [ticket/11615] Refactored isvalid test to be more imperativeAndy Chase2013-07-222-85/+63
| | | | | | | | | | | | | | | | Refactoring the continue/is_valid test to remove the confusing data provider work around, while still keeping redundancies down to a minimum. PHPBB3-11615
| * [ticket/11615] Rename continue -> check_isvalid for clarityAndy Chase2013-07-221-1/+1
| | | | | | | | PHPBB3-11615
| * [ticket/11620] Added a test for checking if users are bannedasperous2013-07-222-0/+117
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Remove typo in beginning of session_key_testasperous2013-07-221-1/+1
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Typo in file name session_key_tests -> testasperous2013-07-221-0/+0
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Added a session key reset testasperous2013-07-221-5/+28
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Added manual key testasperous2013-07-222-0/+72
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Cherry-Pick merge tests from session-storage-cacheAndy Chase2013-07-222-7/+57
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Abstracted session setUp into a test_case classasperous2013-07-224-56/+8
| | | | | | | | | | | | | | When defining a database test case with a setUp function, it is important to call the parent's setup function, because that is when the database is setup. PHPBB3-11620
| * [ticket/11620] Removed unnecessary lines and whitespaceAndy Chase2013-07-091-4/+3
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Rename provider -> mock_auth_providerAndy Chase2013-07-081-2/+2
| | | | | | | | | | | | | | | | Rename the class and file name to better match what the class is mocking, as well as implement the interface of that class. PHPBB3-11620
| * [ticket/11620] Minor changes to tests for coding standardsAndy Chase2013-07-084-20/+28
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Implemented a provider mock object.Andy Chase2013-07-051-1/+11
| | | | | | | | | | | | | | | | | | Due to an auth_refactor, there is a new dependency in session.php on phpbb_container and a provider. For purposes of testing, implemented a simple one. PHPBB3-11620
| * [ticket/11620] Reworked create_test without data providerAndy Chase2013-07-051-42/+11
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Add create_test with test for bot detectionAndy Chase2013-07-052-10/+102
| | | | | | | | | | | | | | Added a test for the creation of a session with a simple test for detecting whether a bot is present. PHPBB3-11620
| * [ticket/11620] Fix typo and confusingly named testAndy Chase2013-07-051-2/+2
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Add indentation, change quote style.Andy Chase2013-07-051-17/+17
| | | | | | | | | | | | | | indentation is probably more important than 80 characters per line apparently. Single quotes instead of double per coding guidelines. PHPBB3-11620
| * [ticket/11620] Add validate_referrer testAndy Chase2013-07-052-1/+95
| | | | | | | | | | | | Add a test for the validate_referrer function. PHPBB3-11620
| * [ticket/11620] Remove unneeded functions from testable facadeAndy Chase2013-07-051-49/+0
| | | | | | | | | | | | | | | | There are functions listed in testable facade that don't have a lot of dependencies, instead mostly just take the input and perform database functions on them. These can be tested without a testable facade function and so will be removed. PHPBB3-11620
| * [ticket/11620] Add ipv6 test cases and remove extra arguments.Andy Chase2013-07-051-3/+5
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Make testable_facade non-static, expand.Andy Chase2013-07-053-25/+132
| | | | | | | | | | | | | | Make the class functions of testable_facade no longer static methods, but a class based one and expand the methods to be filled in, in later commits. PHPBB3-11620
| * [ticket/11620] Add commas in extract_page_testAndy Chase2013-07-051-5/+5
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Fix quotes in extract_hostname_testAndy Chase2013-07-051-7/+7
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Add extract_current_hostnameAndy Chase2013-07-052-1/+68
| | | | | | | | | | | | Add a tests for extracting the current hostname from session. PHPBB3-11620
| * [ticket/11620] Add data provider to extract_pageAndy Chase2013-07-051-14/+91
| | | | | | | | | | | | | | | | These test cases were taken from a live session, more test cases should be added to test specific functionality in this function. PHPBB3-11620
| * [ticket/11620] Rename class_functions_test -> extract_page_testAndy Chase2013-07-051-1/+1
| | | | | | | | | | | | | | Renaming this file because it is going to contain a large data provider, so I'd rather split this test out. PHPBB3-11620
| * [ticket/11620] Remove accidental argument from testable_facade.Andy Chase2013-07-051-1/+1
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Add test for test_extract_current_pageAndy Chase2013-07-051-0/+49
| | | | | | | | PHPBB3-11620
| * [ticket/11620] Add testable facade for sessions.phpAndy Chase2013-07-051-0/+49
| | | | | | | | | | | | | | | | | | | | Since many functions in session.php have global variables inside the function, this exposes those functions through a testable facade that uses testable_factory's mock global variables to modify global variables used in the functions. This is using the facade pattern to provide a testable "front" to the functions in sessions.php. PHPBB3-11620
* | [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-163-11/+11
|/ | | | PHPBB3-11700
* Merge remote-tracking branch 'Hardolaf/feature/auth-refactor' into developDavid King2013-07-032-0/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Hardolaf/feature/auth-refactor: (44 commits) [feature/auth-refactor] Fix code style issue [feature/auth-refactor] Fix comment grammar [feature/auth-refactor] Fix the actual cause of test failures [feature/auth-refactor] A possible fix for the functional test failures [feature/auth-refactor] Forgot @inheritdoc on methods [feature/auth-refactor] Finish and clean up documentation [feature/auth-refactor] Change phpEx to php_ext in new classes [feature/auth-refactor] Fix two session tests broken by changes [feature/auth-refactor] Removed no longer used variable [feature/auth-refactor] Fix errors in acp_board [feature/auth-refactor] Fix indentation on acp_board [feature/auth-refactor] Refactor auth in acp_board [feature/auth-refactor] Don't truncate name then reattach same thing [feature/auth-refactor] Remove old auth plugins [feature/auth-refactor] Remove references to old auth plugins [feature/auth-refactor] Fix auth tests to use mock objects correctly [feature/auth-refactor] Test validate_session on provider_apache [feature/auth-refactor] Test autologin() on provider_apache [feature/auth-refactor] Test login() for provider_apache [feature/auth-refactor] Test for init on provider_apache ...
| * [feature/auth-refactor] Fix two session tests broken by changesJoseph Warner2013-06-262-0/+26
| | | | | | | | PHPBB3-9734
* | Merge branch 'develop-olympus' into developAndreas Fischer2013-06-271-3/+4
|\ \ | |/ |/| | | | | | | | | | | * develop-olympus: [ticket/11615] Fix typo in creation_test [ticket/11615] Remove magic number in creation_test [ticket/11615] Rename class in file to match [ticket/11615] Rename init_test to creation_test for clarity
| * [ticket/11615] Fix typo in creation_testAndy Chase2013-06-261-1/+1
| | | | | | | | PHPBB3-11615
| * [ticket/11615] Remove magic number in creation_testAndy Chase2013-06-261-1/+2
| | | | | | | | | | | | | | | | Removing this magic number to its own variable with clean multiplication makes it clear what the number represents. PHPBB3-11615