Joas Schilling
45c91be970
[ticket/11568] Only assert string when doctype is there at all
...
PHPBB3-11568
2013-05-30 14:12:08 +02:00
Joas Schilling
e84fb0c6ca
[ticket/11568] Add method to get page content
...
PHPBB3-11568
2013-05-28 14:47:24 +02:00
Joas Schilling
0dd1bbf084
[ticket/11568] Allow different status codes
...
PHPBB3-11568
2013-05-28 14:38:28 +02:00
Joas Schilling
3d6620f0db
[ticket/11568] Trim the output to allow Tabs before INCLUDE overall_header
...
PHPBB3-11568
2013-05-28 14:10:27 +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
da98866c24
[ticket/11568] Make CookieJar static aswell
...
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
Joas Schilling
135139aca9
[ticket/11568] Only use a static version of the client
...
PHPBB3-11568
2013-05-27 23:10:07 +02:00
Joas Schilling
f25389f94a
[ticket/11568] Any output before the doc type means there was an error
...
Change is needed to allow "Warning:" in the HTML body
PHPBB3-11568
2013-05-27 23:10:07 +02:00
Joas Schilling
a3e5efc634
[ticket/11568] Set client manually so we can increase the cURL timeout
...
PHPBB3-11568
2013-05-27 23:10:06 +02:00
Joas Schilling
5dcf028cf0
[ticket/11568] Use Goutte Client to install the board for functional tests
...
PHPBB3-11568
2013-05-27 23:10:06 +02:00
Joas Schilling
cc68ea5f6f
Merge remote-tracking branch 'bantu/ticket/11576' into develop-olympus
...
* bantu/ticket/11576:
[ticket/11576] MySQL unit tests: Enable STRICT_TRANS_TABLES and others.
2013-05-27 18:17:07 +02:00
Joas Schilling
49149c0d41
Merge remote-tracking branch 'bantu/ticket/11575' into develop-olympus
...
* bantu/ticket/11575:
[ticket/11575] Correct test_cross_join() to test_order_lower().
2013-05-27 17:43:40 +02:00
Andreas Fischer
38022a6999
[ticket/11576] MySQL unit tests: Enable STRICT_TRANS_TABLES and others.
...
PHPBB3-11576
2013-05-27 15:34:05 +02:00
Andreas Fischer
8a13fff2aa
[ticket/11575] Correct test_cross_join() to test_order_lower().
...
This test does not do any cross joining, it only tests ORDER BY LOWER(...).
PHPBB3-11575
2013-05-27 13:33:41 +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
Andreas Fischer
e84f5db4f5
[ticket/11538] Add unit tests for phpbb_validate_hex_colour().
...
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
Marc Alexander
30e0b694e6
Merge branch 'develop-olympus' of https://github.com/phpbb/phpbb3 into ticket/11538
2013-05-17 12:22:27 +02:00
Andreas Fischer
37a334c187
Merge remote-tracking branch 'bantu/ticket/11547' into develop-olympus
...
* bantu/ticket/11547:
[ticket/11547] Set MySQL charset to UTF8 in database_test_connection_manager.
2013-05-17 02:27:12 +02:00
Joas Schilling
1ee2543309
[ticket/11542] Use Czech as example as it contains non-latin characters
...
PHPBB3-11542
2013-05-17 02:13:51 +02:00
Andreas Fischer
555e89755e
Merge remote-tracking branch 'marc1706/ticket/11544' into develop-olympus
...
* marc1706/ticket/11544:
[ticket/11544] Add admin_login() method to 3.0 functional test case
2013-05-17 01:29:47 +02:00
Andreas Fischer
225aba976e
[ticket/11547] Set MySQL charset to UTF8 in database_test_connection_manager.
...
PHPBB3-11547
2013-05-17 01:22:22 +02:00
Andreas Fischer
f2fd0031f4
Merge remote-tracking branch 'nickvergessen/ticket/11542' into develop-olympus
...
* nickvergessen/ticket/11542:
[ticket/11542] Add non-existing default value for language select
[ticket/11542] Add lang_english_name to fixture
[ticket/11542] Add unit tests for language_select()
2013-05-17 00:34:35 +02:00
Joas Schilling
92e1e86e5c
[ticket/11542] Add non-existing default value for language select
...
PHPBB3-11542
2013-05-16 23:23:10 +02:00
Joas Schilling
38dbfc17a7
[ticket/11545] Remove DIRECTORY_SEPARATOR dependency from is_absolute
...
The given path is an absolute path in general, just not on our current system.
PHPBB3-11545
2013-05-16 17:30:23 +02:00
Joas Schilling
14ab0ba594
[ticket/11542] Add lang_english_name to fixture
...
PHPBB3-11542
2013-05-15 15:18:28 +02:00
Andreas Fischer
c6de880cdb
Merge remote-tracking branch 'nickvergessen/ticket/11541' into develop-olympus
...
* nickvergessen/ticket/11541:
[ticket/11541] Add unit tests for style_select()
2013-05-15 14:28:16 +02:00
Joas Schilling
06edf15ac3
[ticket/11546] Fix is_absolute() throws E_NOTICE for empty string
...
PHPBB3-11546
2013-05-15 14:05:56 +02: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
ac8e8a156a
[ticket/11544] Add admin_login() method to 3.0 functional test case
...
This method is needed in order to be able to properly test acp functions.
PHPBB3-11544
2013-05-14 22:51:10 +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
Joas Schilling
6900e8dae0
[ticket/11542] Add unit tests for language_select()
...
PHPBB3-11542
2013-05-14 20:32:36 +02:00
Joas Schilling
25be16748d
[ticket/11541] Add unit tests for style_select()
...
PHPBB3-11541
2013-05-14 20:29:38 +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
Joas Schilling
3f75534258
[ticket/11540] Add unit tests for is_absolute()
...
PHPBB3-11540
2013-05-14 18:27:09 +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
Nils Adermann
ab3b0df244
[ticket/11529] Format markdown code correctly
...
PHPBB3-11529
2013-05-09 20:06:12 +02:00
Nils Adermann
1c9d36615a
[ticket/11529] Rename RUNNING_TESTS.txt to RUNNING_TESTS.md
...
PHPBB3-11529
2013-05-09 19:59:34 +02:00
Andreas Fischer
c31123e8a4
[ticket/11513] Update RUNNING_TESTS.txt to no longer refer to PEAR.
...
PHPBB3-11513
2013-05-09 19:21:40 +02:00
Andreas Fischer
f2f97dd5e0
[ticket/11513] Update all CLI calls to phpunit to use vendor/bin.
...
PHPBB3-11513
2013-05-09 19:21:40 +02:00
Dhruv
14071e6085
[ticket/11493] add checks for Notice and Warning
...
PHPBB3-11493
2013-04-15 22:02:21 +05:30
Dhruv
82a630cd64
[ticket/11493] add check for phpBB Debug in functional tests
...
PHPBB3-11493
2013-04-15 20:41:05 +05:30
Andreas Fischer
9a0992f6a0
Merge remote-tracking branch 'p/ticket/11295' into develop-olympus
...
* p/ticket/11295:
[ticket/11295] Drop tables rather than database for postgres in test suite.
2013-01-23 15:45:18 +01:00
Andreas Fischer
a83c766ebd
Merge remote-tracking branch 'p/ticket/11323-olympus' into develop-olympus
...
* p/ticket/11323-olympus:
[ticket/11323] Backport include_define test to olympus.
2013-01-22 20:32:07 +01:00
Oleg Pudeyev
227f7f46df
Merge PR #1194 branch 'marc1706/ticket/11323' into develop-olympus
...
# By Marc Alexander
# Via Marc Alexander
* marc1706/ticket/11323:
[ticket/11323] Add tests for inclusion of defined variables
2013-01-13 20:11:31 -05:00