Marc Alexander
a3be531020
[ticket/13568] Use correct data provider on windows
...
PHPBB3-13568
2015-02-03 16:34:41 +01:00
Marc Alexander
ffe0e46e82
[ticket/13568] Add imagick tests for windows
...
PHPBB3-13568
2015-02-02 20:39:58 +01:00
Marc Alexander
b53fd867be
[ticket/13568] Add more test cases for imagick path
...
PHPBB3-13568
2015-02-02 18:33:53 +01:00
Marc Alexander
99574cf5e5
[ticket/13568] Add functional test for imagick path setting
...
PHPBB3-13568
2015-02-02 16:11:00 +01:00
Tristan Darricau
5762af6180
[ticket/11480] Fix typos
...
PHPBB3-11480
2014-05-29 22:45:34 +02:00
Tristan Darricau
9c8e843def
[ticket/11480] Add functionnal test
...
PHPBB3-11480
2014-05-29 14:56:45 +02:00
Andreas Fischer
587241f3a9
[ticket/12176] Add functional test for founder deletion message.
...
PHPBB3-12176
2014-02-15 02:27:54 +01:00
Joas Schilling
63535b196d
[ticket/11775] Split test into multiple steps
...
PHPBB3-11775
2013-08-12 15:38:20 +02:00
Joas Schilling
a9b5e77e68
[ticket/11775] Add functional test for moving the last post
...
PHPBB3-11775
2013-08-09 00:41:28 +02:00
Joas Schilling
a6e69f377b
[ticket/11775] Backport moving of the posting functions to 3.0
...
PHPBB3-11775
2013-08-08 23:33:26 +02:00
Marc Alexander
865bf0db3d
[ticket/11720] Add functional test for submitting report as user
...
The already existing functional tests were not ran as the filename was
missing the appended "_test".
PHPBB3-11720
2013-07-21 18:50:06 +02:00
Marc Alexander
da8e35ac77
[ticket/11548] Fix incorrect usage of array_map on acp groups page
...
The array_map was only ran on small parts of the actual error array instead
of the whole one. This resulted in the output of the language variables' names
rather than their actual value.
PHPBB3-11548
2013-07-12 13:40:30 -04:00
Marc Alexander
2667c3a527
[ticket/11548] Use new static methods for request and submit
...
PHPBB3-11548
2013-07-11 17:34:34 -04:00
Marc Alexander
dc4687501a
Merge branch 'develop-olympus' of https://github.com/phpbb/phpbb3 into ticket/11548
2013-07-11 17:30:32 -04:00
Vjacheslav Trushkin
94e5bfaada
[ticket/10772] Updating tests
...
PHPBB3-10772
2013-07-11 22:46:26 +02:00
Marc Alexander
599f83395f
[ticket/11548] Run array_map on complete error array and not just colour_error
...
Up to now the array_map() that turns error messages into the localized output
was only ran if the group's color was set. With this patch it'll run the
array_map() on the complete error array if it's not empty.
PHPBB3-11548
2013-07-11 16:15:27 -04:00
Nathaniel Guse
406c48c655
Merge remote-tracking branch 'remotes/cyberalien/ticket/10772' into develop-olympus
...
# By Vjacheslav Trushkin
# Via Vjacheslav Trushkin
* remotes/cyberalien/ticket/10772:
[ticket/10772] Remove unnecessary comment
[ticket/10772] Functional tests for forum style
[ticket/10772] Use forum specific style for trigger_error
2013-07-11 13:08:24 -05:00
Dhruv
84ec1f5423
[ticket/11566] Check that guest doesn't have reporting permission by default
...
PHPBB3-11566
2013-07-01 21:49:06 +05:30
Dhruv
434d14e1d5
[ticket/11566] Revert forum permission changes
...
Revert the f_report permission for guests in the functional tests
PHPBB3-11566
2013-07-01 21:49:01 +05:30
Dhruv
1abc3d91d0
[ticket/11566] Use language variable instead of hardcode
...
Add language variable in tests
PHPBB3-11566
2013-07-01 21:49:00 +05:30
Dhruv
43053c541a
[ticket/11566] add tests for reporting post
...
Functional test for reporting post and check if captcha validation
is required for guests and not for registerted users
PHPBB3-11566
2013-07-01 21:48:59 +05:30
Joas Schilling
b7b81f6431
[ticket/11568] Use static calls for static methods
...
PHPBB3-11568
2013-05-31 16:16:41 +02:00
Joas Schilling
9be57ec076
[ticket/11568] Fix common_groups_test.php form handling
...
PHPBB3-11568
2013-05-27 23:10:08 +02:00
Joas Schilling
e77c8ee4ef
[ticket/11568] Remove manual calls to assert_response_success()
...
PHPBB3-11568
2013-05-27 23:10:07 +02:00
Andreas Fischer
3faae5c98c
[ticket/11538] Cut functional tests down a bit as these are more expensive.
...
PHPBB3-11538
2013-05-26 19:24:09 +02:00
Marc Alexander
e49b4543de
[ticket/11538] Modify test colour values
...
PHPBB3-11538
2013-05-19 15:17:47 +02:00
Marc Alexander
8aea2b382d
[ticket/11538] Move group ID into abstract test class and add more test cases
...
The group ID is defined in the abstract class now and additional test cases
for hex colour values have been added.
PHPBB3-11538
2013-05-19 11:44:26 +02:00
Marc Alexander
0a5988ec1f
[ticket/11538] Use abstract class for functional test cases for group colour
...
PHPBB3-11538
2013-05-17 18:31:17 +02:00
Vjacheslav Trushkin
56ac97e819
[ticket/10772] Functional tests for forum style
...
PHPBB3-10772
2013-05-16 09:24:16 +03:00
Marc Alexander
204cdb2164
[ticket/11538] Make sure regex doesn't allow multiple color values
...
This will now make sure that 'AAFF00' will be matched but strings like
'AAFF00 AABB00' will not.
PHPBB3-11538
2013-05-15 12:30:05 +02:00
Marc Alexander
cbe4a3c3b6
[ticket/11538] Add tests for acp group manage page
...
This will currently test if the colour check properly works.
PHPBB3-11538
2013-05-14 22:50:17 +02:00
Marc Alexander
deefe5c0e4
[ticket/11538] Simplify colour value check and remove support for '#'
...
The input length for the hex color is now limited to 6 characters and
the support for colors starting with a '#' has been dropped. The allowed
input length of 7 in prosilver seems to have been a relict from old ages
of phpBB3. In order to have proper support for correct checking of the
colour value, the new code was also ported to the ACP groups manage page.
The tests have been modified to reflect the changes to the behavior of
the color check. Tests for the ACP will follow.
PHPBB3-11538
2013-05-14 22:39:33 +02:00
Marc Alexander
1fae7720e4
[ticket/11538] Fix incorrect regex and test for duplicate # in color string
...
PHPBB3-11538
2013-05-14 21:27:25 +02:00
Marc Alexander
a547ba3f9d
[ticket/11538] Use regex for testing color value and improve tests
...
We are now using a regex with preg_match() in order to properly check
if the entered color value is in hex color format or not. A proper
error message is triggered if an incorrect color value is entered and
the prepended '#' is removed if necessary.
PHPBB3-11538
2013-05-14 19:44:55 +02:00
Marc Alexander
b7b0b0ccc3
[ticket/11538] Make sure group color can't exceed maximum of 6 characters
...
In order to prevent future issues with this, a basic set of functional
tests for the UCP groups manage page have been added.
PHPBB3-11538
2013-05-14 13:43:53 +02:00
Nathan Guse
175b6deb6d
[ticket/8610] Do not use requests to submit posts except in posting_test.php
...
Moving my functional test functions from posting_helpers.php to
posting_test.php since it is a bit nicer and more reusable if
posting_test.php is to be expanded in the future.
PHPBB3-8610
2012-12-15 16:22:54 -06:00
Nathan Guse
d739745ea4
[ticket/8610] Move posting helpers to separate file
...
This is to prevent cluttering up the functional test case class more
PHPBB3-8610
2012-12-13 23:09:45 -06:00
Nathan Guse
9eb9fa2b9d
[ticket/8610] Create helper functions to create topic/post in functional tests
...
This will be used to test splitting/copying/merging/etc in functional tests
Also convert functional posting_test.php to use these functions
PHPBB3-8610
2012-12-13 22:38:17 -06:00
Oleg Pudeyev
ff993ba9d3
[ticket/10972] Drop user deletion.
...
Users should not be deleted in tests that test user creation.
Tests should use unique user names to avoid collisions.
User deletion should use user_remove anyway.
PHPBB3-10972
2012-12-06 23:49:27 -05:00
Oleg Pudeyev
fb5c4440e5
[ticket/10972] Tweak user addition.
...
Always add users, do not keep track of which users have been added.
The tests should know whether users they want exist or not.
Use more unique user names in tests for robustness.
Added some more assertions here and there.
PHPBB3-10972
2012-12-06 23:45:17 -05:00
Fyorl
cafc7feca1
[ticket/10972] Moved tests into appropriate places and added comments
...
PHPBB3-10972
2012-12-06 22:10:09 -05:00
Fyorl
7005002069
[ticket/10972] Added methods for creating and deleting basic users
...
Modified the login method to allow logging in of an arbitrary user.
Also added tests for the new functionality.
PHPBB3-10972
2012-12-06 22:10:09 -05:00
Oleg Pudeyev
dc61fd1091
[ticket/11202] Check response success before content assertions.
...
This does not change tests that perform requests which are either
clearly not supposed to succeed or are a gray area.
PHPBB3-11202
2012-11-15 08:25:14 -05:00
David King
7dfe26dd78
[task/functional] Allow tests to bypass certain restrictions with DEBUG_TEST
...
PHPBB3-10758
2012-09-01 10:37:44 -04:00
David King
7cffebbd49
[task/functional] Added posting tests (reply and new topic)
...
PHPBB-10758
2012-09-01 10:37:03 -04:00
David King
b82c77b38f
[task/functional] Make sure missing language values are handled properly
...
PHPBB3-10758
2012-04-24 14:10:50 -04:00
David King
8cf0b79a47
[task/functional] Increase code coverage for functional tests
...
PHPBB3-10758
2012-04-23 17:16:16 -04:00
Patrick Webster
6293bbf099
[ticket/10492] Fix line endings
...
PHPBB3-10492
2012-04-21 05:24:57 -05:00
Patrick Webster
2aa994b5ad
[ticket/10492] Backporting functional tests
...
PHPBB3-10492
2012-04-21 04:37:57 -05:00