Marc Alexander
d720428564
[ticket/13073] Switch $input with $expected and add paths with letters
...
PHPBB3-13073
2014-09-19 15:30:24 +02:00
Marc Alexander
543d68a7d3
[ticket/13073] Use abstract class for controller helper route tests
...
PHPBB3-13073
2014-09-19 15:21:04 +02:00
Marc Alexander
6fd54436ee
[ticket/13073] Add path regex to get_preg_expression() and add unit tests
...
We're now calling get_preg_expression() instead of hardcoding the regex into
the helper route method.
PHPBB3-13073
2014-09-19 13:54:15 +02:00
Marc Alexander
de7ed7c286
[ticket/13073] Use correct class names in test files
...
PHPBB3-13073
2014-09-19 12:01:31 +02:00
Tristan Darricau
c767712c64
[ticket/12657] Fix the order of the parameters for the constructor
...
PHPBB3-12657
2014-09-19 11:09:37 +02:00
Tristan Darricau
689eaab3e2
[ticket/12657] The test does not need to depend on the database
...
PHPBB3-12657
2014-09-19 11:09:35 +02:00
LEZY Thomas
fb08d1b27e
[ticket/12657] Remove unused global variables
...
PHPBB3-12657
2014-09-19 11:09:32 +02:00
LEZY Thomas
6e4348b0ea
[ticket/12657] Fix name temporary directory used by test file
...
PHPBB3-12657
2014-09-19 11:09:30 +02:00
LEZY Thomas
4a76763a8a
[ticket/12657] Add a test file for base case
...
PHPBB3-12657
2014-09-19 11:09:29 +02:00
rxu
c20b658f70
[ticket/13055] Add UTF-8 string tests for profile fields validation options
...
PHPBB3-13055
2014-09-19 09:31:28 +08:00
Marc Alexander
a6d9b42e5f
[ticket/13073] Rework route tests and add tests for more directory types
...
PHPBB3-13073
2014-09-19 00:35:17 +02:00
Marc Alexander
d74f45aee0
[ticket/13073] Test that routes from subfolders like /adm work
...
PHPBB3-13073
2014-09-19 00:11:36 +02:00
Marc Alexander
a70addbf14
[ticket/13073] Add tests for routes from adm pages
...
PHPBB3-13073
2014-09-19 00:07:31 +02:00
Tristan Darricau
7548bc89ea
Merge branch 'develop-ascraeus' into develop
...
* develop-ascraeus:
[ticket/12963] Always use core_path and core_directory()
[ticket/12963] Remove old migration/ folder from tests
[ticket/12963] Revert back to "migrations" folder name for extensions
2014-09-18 14:04:22 +02:00
Joas Schilling
1da5c41ab3
[ticket/12963] Always use core_path and core_directory()
...
PHPBB3-12963
2014-09-18 11:21:53 +02:00
Joas Schilling
5ce61e8c3a
[ticket/12963] Remove old migration/ folder from tests
...
PHPBB3-12963
2014-09-18 11:21:51 +02:00
Joas Schilling
c220fa89a1
[ticket/12963] Revert back to "migrations" folder name for extensions
...
The issues that can be created with the name change are just too much
PHPBB3-12963
2014-09-18 10:45:08 +02:00
Cesar G
5a46ed398b
Merge branch 'develop-ascraeus' into develop
...
* develop-ascraeus:
[ticket/12963] Fix the migration's finder for the tests (path, new instance)
2014-09-17 17:49:12 -07:00
Tristan Darricau
0d1f0c07fe
[ticket/12963] Fix the migration's finder for the tests (path, new instance)
...
PHPBB3-12963
2014-09-18 02:04:47 +02:00
Tristan Darricau
92d69255e4
Merge branch 'develop-ascraeus' into develop
...
* develop-ascraeus:
[ticket/12963] Correctly load migration files from migration/ in tests as well
2014-09-18 01:32:55 +02:00
Joas Schilling
180f9bf4fa
[ticket/12963] Correctly load migration files from migration/ in tests as well
...
PHPBB3-12963
2014-09-17 23:33:26 +02:00
Joas Schilling
45a4cf7ac5
Merge branch 'develop-ascraeus' into develop
...
* develop-ascraeus:
[ticket/13064] Revert "[ticket/13064] Validate the migrations provided to ..."
2014-09-17 21:25:20 +02:00
Joas Schilling
7729ae4ad0
[ticket/13064] Revert "[ticket/13064] Validate the migrations provided to ..."
...
This reverts commit 46a9fe93d797bf7d56fd9b1e204f3c0459270122.
PHPBB3-13064
2014-09-17 21:24:33 +02:00
Joas Schilling
bf6ecccd25
Merge branch 'develop-ascraeus' into develop
...
* develop-ascraeus:
[ticket/13064] Validate the migrations provided to migrator::set_migrations()
2014-09-17 19:59:47 +02:00
Joas Schilling
86ea314598
Merge pull request #2951 from Nicofuma/ticket/13064
...
[ticket/13064] Validate the migrations provided to migrator::set_migrations()
* Nicofuma/ticket/13064:
[ticket/13064] Validate the migrations provided to migrator::set_migrations()
2014-09-17 19:59:39 +02:00
Marc Alexander
f6ccb30781
Merge branch 'develop-ascraeus' into develop
2014-09-17 00:57:34 +02:00
Marc Alexander
20903c0a9b
Merge pull request #2922 from Nicofuma/ticket/13036
...
[ticket/13036] Make the reference type configurable when generating a route
2014-09-17 00:57:04 +02:00
Marc Alexander
5fa2d19756
Merge branch 'develop-ascraeus' into develop
2014-09-17 00:37:07 +02:00
Marc Alexander
4a06511d85
Merge pull request #2932 from Nicofuma/ticket/12963
...
[ticket/12963] Load extensions migrations from /migration
2014-09-17 00:36:38 +02:00
Tristan Darricau
a48b740b94
[ticket/13036] Complete tests
...
PHPBB3-13036
2014-09-16 21:56:45 +02:00
Tristan Darricau
bb5d6a2551
[ticket/13036] Add unit tests
...
PHPBB3-13036
2014-09-16 19:44:58 +02:00
Marc Alexander
cf71bfbdf2
Merge branch 'develop-ascraeus' into develop
2014-09-16 19:24:45 +02:00
Marc Alexander
b3576d77da
Merge pull request #2921 from Nicofuma/ticket/13034
...
[ticket/13034] Fix the route generated for the frontend not in the phpbb root path
2014-09-16 19:24:07 +02:00
Tristan Darricau
f4260e261f
[ticket/13034] Fix tests
...
PHPBB3-13034
2014-09-16 01:25:36 +02:00
Tristan Darricau
46a9fe93d7
[ticket/13064] Validate the migrations provided to migrator::set_migrations()
...
PHPBB3-13064
2014-09-14 00:56:41 +02:00
Tristan Darricau
04e0d305d0
[ticket/12963] Add unit tests
...
PHPBB3-12963
2014-09-10 19:22:00 +02:00
Marc Alexander
c00e0c55c5
Merge branch 'develop-ascraeus' into develop
2014-09-07 11:58:57 +02:00
Marc Alexander
a0ee6ccdf3
Merge pull request #2925 from nickvergessen/ticket/12983
...
Ticket/12983 UCP preferences, Display posts ordering by: input is not properly validated
2014-09-07 11:41:44 +02:00
Joas Schilling
d5801333f7
[ticket/12983] Do not test invalid values until Symfony 2.4
...
PHPBB3-12983
2014-09-07 10:40:18 +02:00
Tristan Darricau
af10ca630d
Merge branch 'develop-ascraeus' into develop
...
* develop-ascraeus:
[ticket/12852] Add unit tests
[ticket/12852] Add space after if
[ticket/12852] Remove whitespace
[ticket/12852] Make get_url_parts handle get variable with no value
2014-09-06 15:47:47 +02:00
Tristan Darricau
297ab5c526
Merge pull request #2919 from Senky/ticket/12852
...
[ticket/12852] Make get_url_parts handle get variable with no value
* Senky/ticket/12852:
[ticket/12852] Add unit tests
[ticket/12852] Add space after if
[ticket/12852] Remove whitespace
[ticket/12852] Make get_url_parts handle get variable with no value
2014-09-06 15:47:30 +02:00
Joas Schilling
647a75249c
[ticket/12983] Add functional test for ucp pref module
...
PHPBB3-12983
2014-09-06 15:16:51 +02:00
Tristan Darricau
e0711b417f
Merge branch 'develop-ascraeus' into develop
...
* develop-ascraeus:
[ticket/13031] Slightly change behavior of choose_mime_type and add unit tests
[ticket/13031] Guess with all mimetype guessers and pick best guess
[ticket/13031] Only use mimetype guesser guess if it helps us
2014-09-06 13:54:16 +02:00
Marc Alexander
21029e9fd2
[ticket/13031] Slightly change behavior of choose_mime_type and add unit tests
...
The mime type 'application/octet-stream' will still always be overwritten by
proper guesses. However, guesses with guessers that have a higher priority
will now overwrite previous guesses even if the mime types of these guesses
had a slash in them.
PHPBB3-13031
2014-09-05 21:55:49 +02:00
Tristan Darricau
4f44e73b21
[ticket/13034] Fix unit tests
...
PHPBB3-13034
2014-09-04 23:21:56 +02:00
Tristan Darricau
cb3eb84665
[ticket/13034] Fix the route generated for the frontend not in the phpbb root
...
PHPBB3-13034
2014-09-04 23:21:55 +02:00
Jakub Senko
7b796532df
[ticket/12852] Add unit tests
...
PHPBB3-12852
2014-09-04 17:56:48 +02:00
Marc Alexander
7de15bc54c
[ticket/13031] Only use mimetype guesser guess if it helps us
...
If we already have a mimetype and the guesser's guess is the default fallback,
we should keep the already existing mimetype the browser supplied. Otherwise,
platforms that might not support mimetype guessers will cause us to always
have the mimetype set to application/octet-stream on images. This will prevent
users from uploading images.
PHPBB3-13031
2014-09-03 23:09:17 +02:00
Tristan Darricau
55a3c96fb0
[ticket/12661] Fix unit tests
...
PHPBB3-12661
2014-09-02 22:12:11 +02:00
Marc Alexander
cf5ae5abbc
Merge branch 'develop-ascraeus' into develop
2014-09-02 20:55:25 +02:00