Nathan
b17d15276f
[ticket/11831] getAttribute was replaced with attr
...
PHPBB3-11831
2013-09-06 12:36:40 -05:00
Andreas Fischer
d089f9693a
Merge branch 'prep-release-3.0.12' into develop-olympus
...
* prep-release-3.0.12:
[ticket/11775] Fix doc blocks syntax
[ticket/11775] Remove spaces at line ends
[ticket/11775] Split test into multiple steps
[ticket/11775] Add functional test for moving the last post
[ticket/11775] Backport moving of the posting functions to 3.0
[ticket/11775] Fix error when moving the last post to another topic
2013-08-15 01:37:56 +02:00
Joas Schilling
c30d4025d2
[ticket/11775] Fix doc blocks syntax
...
PHPBB3-11775
2013-08-15 01:36:38 +02:00
Joas Schilling
4b0adfcff5
[ticket/11775] Remove spaces at line ends
...
PHPBB3-11775
2013-08-15 01:35:02 +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
Nathaniel Guse
6bfa2fc055
[ticket/11686] Not checking for phpBB Debug errors on functional tests
...
PHPBB3-11686
2013-07-13 12:06:05 -05:00
Vjacheslav Trushkin
335d48775f
[ticket/10772] Remove 3.1 code
...
PHPBB3-10772
2013-07-11 22:46:19 +02: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
Andreas Fischer
1af6dc22e2
[ticket/11604] Skip installer step where config.php is created.
...
PHPBB3-11604
2013-06-19 17:03:41 +02:00
Andreas Fischer
21f839494d
[ticket/11604] Fix case where config.php is not generated by phpBB.
...
PHPBB3-11604
2013-06-18 16:02:33 +02:00
Andreas Fischer
516581c41e
[ticket/11604] Use variables for config.php filesnames.
...
PHPBB3-11604
2013-06-18 15:04:48 +02:00
Joas Schilling
33bce3fac6
[ticket/11601] Add protected method for database sync and call it
...
PHPBB3-11601
2013-06-11 13:26:17 +02:00
Joas Schilling
5e8054f045
[ticket/11601] Split post_setup_synchronisation logic from xml parsing
...
PHPBB3-11601
2013-06-11 13:24:55 +02:00
Joas Schilling
228c1075b7
[ticket/11590] Close database connections when tearDown() is called
...
PHPBB3-11590
2013-06-07 01:31:20 +02:00
Joas Schilling
6af5262fcc
[ticket/11568] Split status code and html debug assertion into two methods
...
PHPBB3-11568
2013-05-31 16:27:52 +02:00
Joas Schilling
09a3877ae4
[ticket/11568] Add comma at end of array key-value couple
...
PHPBB3-11568
2013-05-31 16:20:20 +02:00
Joas Schilling
b2be82cd57
[ticket/11568] Invert logic for asserting the response
...
PHPBB3-11568
2013-05-31 16:19:19 +02:00
Joas Schilling
b7b81f6431
[ticket/11568] Use static calls for static methods
...
PHPBB3-11568
2013-05-31 16:16:41 +02:00
Joas Schilling
b4d23fa551
[ticket/11568] Remove unused method
...
PHPBB3-11568
2013-05-30 14:16:31 +02:00
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
da98866c24
[ticket/11568] Make CookieJar static aswell
...
PHPBB3-11568
2013-05-27 23:10:08 +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
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
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
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
Vjacheslav Trushkin
56ac97e819
[ticket/10772] Functional tests for forum style
...
PHPBB3-10772
2013-05-16 09:24:16 +03: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
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
Oleg Pudeyev
02a1777fcb
[ticket/11295] Drop tables rather than database for postgres in test suite.
...
Doing so allows:
1. User running the tests no longer needs create database privilege.
2. Test database may be located in a non-default tablespace and generally
have site-specific options applied to it.
PHPBB3-11295
2012-12-26 00:31:43 -05:00
Oleg Pudeyev
789c04b900
[ticket/11265] Add assertions for board installation success.
...
PHPBB3-11265
2012-12-13 15:42:00 -05:00
Oleg Pudeyev
a4e4841082
Merge PR #1119 branch 'p/ticket/10491' into develop-olympus
...
* p/ticket/10491:
[ticket/10491] Make recreate_database static.
[ticket/10491] Install board once per test run.
[ticket/10491] Move board installation into setup before class.
[ticket/10491] Set up functional tests sensibly.
2012-12-13 03:11:07 -05:00
Oleg Pudeyev
1441b70ae8
[ticket/10491] Make recreate_database static.
...
PHPBB3-10491
2012-12-12 21:47:48 -05:00
Oleg Pudeyev
2bc2cb1f6f
[ticket/10491] Install board once per test run.
...
This is how things used to be. Installing for each test class brings
3-4x performance penalty compared to installing once for the entire
test run. However, with a single installation for all tests an
individual test can see different data when it is invoked by itself
vs when it is executed as part of the entire test suite.
PHPBB3-10491
2012-12-10 06:42:43 -05: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
Oleg Pudeyev
ebdd96592a
[ticket/10972] Backport get_db from develop.
...
PHPBB3-10972
2012-12-06 22:45:12 -05:00
Fyorl
d33accb687
[ticket/10972] Added explicit checks for creating duplicate users.
...
PHPBB3-10972
2012-12-06 22:10:10 -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
Patrick Webster
dbb54b217b
[ticket/11219] Coding guidelines and naming consistency changes
...
PHPBB3-11219
2012-12-05 22:57:06 -06:00
Oleg Pudeyev
38d2868ba8
[ticket/10491] Move board installation into setup before class.
...
Functional posting test already assumed that board is installed
once per test case and not once per test.
PHPBB3-10491
2012-12-04 17:37:46 -05:00
Oleg Pudeyev
bdc3ddf2bc
[ticket/10491] Set up functional tests sensibly.
...
PHPBB_FUNCTIONAL_URL goes into setup before class.
Drop PHPBB_FUNCTIONAL_URL check in board installation and
silent return if it is not set.
Take board installation out of constructor.
Install board in setup method.
PHPBB3-10491
2012-12-04 17:19:25 -05:00
Patrick Webster
720ef233b1
[ticket/11219] Only update sequences that are affected by a fixture
...
PHPBB3-11219
2012-12-01 22:34:03 -06:00