Oleg Pudeyev
8ea52b5619
[ticket/10716] Skip test if php is not in PATH.
...
PHPBB3-10716
2012-12-04 17:43:36 -05: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
Oleg Pudeyev
8897efe087
[ticket/10716] Exclude our dependencies from linting.
...
PHPBB3-10716
2012-12-04 16:42:58 -05:00
Oleg Pudeyev
2d3882c412
[ticket/10205] Delete stray return.
...
PHPBB3-10205
2012-12-04 16:32:57 -05:00
Oleg Pudeyev
f3c043a569
[ticket/10205] Test failed connection attempts.
...
PHPBB3-10205
2012-12-04 16:29:37 -05:00
Oleg Pudeyev
dc521692f3
[ticket/10205] Check for function existence in mssql connect method.
...
PHPBB3-10205
2012-12-04 16:14:39 -05:00
Oleg Pudeyev
de2fe1a308
[ticket/10205] Convert mssqlnative driver to the same logic.
...
PHPBB3-10205
2012-12-04 16:12:31 -05:00
Oleg Pudeyev
40db60e45f
[ticket/10205] Fix a parse error in oracle driver.
...
PHPBB3-10205
2012-12-04 16:07:02 -05:00
Oleg Pudeyev
4133fae99e
[ticket/10716] Only lint on php 5.3+.
...
PHPBB3-10716
2012-12-04 13:58:14 -05:00
Oleg Pudeyev
9f549e8249
[ticket/10205] Fix remaining db drivers.
...
PHPBB3-10205
2012-12-04 04:50:41 -05:00
Oleg Pudeyev
1a7e2211c3
[ticket/10205] Avoid calling mysqli functions when mysqli is missing.
...
PHPBB3-10205
2012-12-04 04:41:46 -05:00
Oleg Pudeyev
025a95ea90
[ticket/10205] Account for potentially missing extensions in dbal.
...
PHPBB3-10205
2012-12-04 04:40:47 -05:00
Oleg Pudeyev
af2887f3a7
[ticket/10716] php parse all php files as part of the test suite.
...
PHPBB3-10716
2012-12-04 03:34:51 -05:00
Oleg Pudeyev
e64c5117b9
Merge PR #1112 branch 'bantu/ticket/11240' into develop-olympus
...
* bantu/ticket/11240:
[ticket/11240] Enable PHPUnit's verbose mode so we get a list of skipped tests.
2012-12-04 00:40:32 -05:00
Andreas Fischer
e845e2ed89
[ticket/11240] Enable PHPUnit's verbose mode so we get a list of skipped tests.
...
PHPBB3-11240
2012-12-04 00:40:24 +01:00
Andreas Fischer
cf64007ab6
Merge remote-tracking branch 'p/ticket/11238-olympus' into develop-olympus
...
* p/ticket/11238-olympus:
[ticket/11238] Set goutte version to 0.1.0.
2012-12-03 13:39:16 +01:00
Oleg Pudeyev
6f7e39996c
[ticket/11238] Set goutte version to 0.1.0.
...
PHPBB3-11238
2012-12-02 23:44:49 -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
Oleg Pudeyev
2fc43e6ed7
[ticket/11162] No whitespace changes in olympus.
...
PHPBB3-11162
2012-12-01 23:11:14 -05:00
Oleg Pudeyev
05053dacd3
[ticket/11162] Fix inaccurately copy pasted comment.
...
PHPBB3-11162
2012-12-01 23:09:32 -05:00
Oleg Pudeyev
69225bd0a6
[ticket/11162] Use phpbb_update_rows_avoiding_duplicates in mcp.
...
PHPBB3-11162
2012-12-01 23:09:31 -05:00
Oleg Pudeyev
c2c105df9f
[ticket/11162] Clarify that only the two tables actually work.
...
PHPBB3-11162
2012-12-01 23:09:31 -05:00
Oleg Pudeyev
2e947334e5
[ticket/11162] Uncomment transactions.
...
PHPBB3-11162
2012-12-01 23:09:31 -05:00
Oleg Pudeyev
d0338531cb
[ticket/11162] An implementation that actually works.
...
PHPBB3-11162
2012-12-01 23:09:29 -05:00
Oleg Pudeyev
ae14ac7ba9
Merge PR #893 branch 'nickvergessen/ticket/10184' into develop-olympus
...
* nickvergessen/ticket/10184:
[ticket/10184] Query bots table to get the user_ids of the bots
[ticket/10184] Disable receiving pms for bots by default
2012-12-01 04:55:00 -05:00
Joas Schilling
ad2d560f3f
[ticket/10184] Query bots table to get the user_ids of the bots
...
PHPBB3-10184
2012-12-01 10:54:26 +01:00
Joas Schilling
314462d835
[ticket/10184] Disable receiving pms for bots by default
...
PHPBB3-10184
2012-12-01 10:54:16 +01:00
Andreas Fischer
b2a252d274
Merge remote-tracking branch 'p/ticket/11227' into develop-olympus
...
* p/ticket/11227:
[ticket/11227] @return void -> @return null in develop-olympus.
2012-11-29 23:17:48 +01:00
Oleg Pudeyev
65253a3023
[ticket/11227] @return void -> @return null in develop-olympus.
...
PHPBB3-11227
2012-11-29 15:37:12 -05:00
Patrick Webster
1dff6d1bf9
[ticket/11219] Recreate Oracle sequences instead of altering them
...
The previous method would always leave a gap between the last value and the
new one due to how you have to update the sequence values. To remove gaps in
all situations, the options are to alter the USER_SEQUENCES table or just
drop the sequence and recreate it. The prior requires elevated priveleges
and the latter can break attached objects. Since we don't attach objects to
the sequences, we won't have any problems doing it for the tests.
PHPBB3-11219
2012-11-20 04:40:06 -06:00
Joas Schilling
a7404409a8
[ticket/11219] Add unit test for inserting into a sequence column
...
PHPBB3-11219
2012-11-19 14:27:26 +01:00
Patrick Webster
41a95d2c64
[ticket/11219] Update sequence values after loading fixtures
...
If a value is provide for an auto_increment type of column, certain DBMSes
do not update their internal sequencers. If a row is inserted later, it can
be given an ID that is already in use, resulting in an error. The database
test cases now resynchronise the sequencers before the tests are run.
PHPBB3-11219
2012-11-18 20:38:58 -06:00
Oleg Pudeyev
af5d8b502e
Merge PR #1074 branch 'bantu/ticket/11192' into develop-olympus
...
* bantu/ticket/11192:
[ticket/11192] Merge dataProvider arrays because the test is the same now.
[ticket/11192] Update $value parameter description to support other types.
[ticket/11192] Mark negative byte numbers as unsupported.
[ticket/11192] Test strings not converted to int/float before.
[ticket/11192] Also test strings, e.g. sums returned by the database.
[ticket/11192] Also test powers of 10 / 1000.
[ticket/11192] Add tests.
[ticket/11192] Add Tebibyte to get_formatted_filesize().
2012-11-16 10:25:06 -05:00
Andreas Fischer
8851f9589a
[ticket/11192] Merge dataProvider arrays because the test is the same now.
...
PHPBB3-11192
2012-11-16 16:20:55 +01:00
Andreas Fischer
efd6f1df63
[ticket/11192] Update $value parameter description to support other types.
...
PHPBB3-11192
2012-11-16 14:56:15 +01:00
Andreas Fischer
7cbd440e7a
[ticket/11192] Mark negative byte numbers as unsupported.
...
PHPBB3-11192
2012-11-16 14:56:15 +01:00
Andreas Fischer
4e3a42f59f
[ticket/11192] Test strings not converted to int/float before.
...
PHPBB3-11192
2012-11-16 14:56:15 +01:00
Andreas Fischer
09c8c58a5c
[ticket/11192] Also test strings, e.g. sums returned by the database.
...
PHPBB3-11192
2012-11-16 08:00:12 +01:00
Andreas Fischer
b7ec639945
[ticket/11192] Also test powers of 10 / 1000.
...
PHPBB3-11192
2012-11-16 08:00:07 +01:00
Oleg Pudeyev
c15b98999e
[ticket/11192] Add tests.
...
PHPBB3-11192
2012-11-15 23:57:55 -05:00
Oleg Pudeyev
17a7c4821a
Merge PR #1060 branch 'nickvergessen/ticket/11186' into develop-olympus
...
* nickvergessen/ticket/11186:
[ticket/11186] Database unit tests fail on windows using sqlite2
2012-11-15 16:00:39 -05:00
Andreas Fischer
14a42a97a8
Merge remote-tracking branch 'p/ticket/11202-olympus' into develop-olympus
...
* p/ticket/11202-olympus:
[ticket/11202] Custom message does not make sense here, delete it.
[ticket/11202] Check response success before content assertions.
[ticket/11202] Add a heuristic function to check for response success.
2012-11-15 19:48:46 +01:00
Oleg Pudeyev
27594130b0
Merge PR #1069 branch 'Fyorl/ticket/11190' into develop-olympus
...
* Fyorl/ticket/11190:
[ticket/11190] Functional tests purge cache before running.
2012-11-15 09:42:21 -05:00
Oleg Pudeyev
af7ab2d3ac
[ticket/11202] Custom message does not make sense here, delete it.
...
PHPBB3-11202
2012-11-15 08:40:29 -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
Oleg Pudeyev
4ab178f3ef
[ticket/11202] Add a heuristic function to check for response success.
...
This tries to account for php sending fatal errors with 200 status code.
PHPBB3-11202
2012-11-15 08:24:27 -05:00
Andreas Fischer
8b156c3d83
Merge remote-tracking branch 'marc1706/ticket/10879' into develop-olympus
...
* marc1706/ticket/10879:
[ticket/10879] Remove arrow icon from attachment link in editor
2012-11-13 20:35:50 +01:00
Marc Alexander
170967c48a
[ticket/10879] Remove arrow icon from attachment link in editor
...
If you upload a file with a long filename the filename will partially
cover the arrow icon background image. Remove the icon as it's not needed
anyways.
PHPBB3-10879
2012-11-13 20:26:49 +01:00
Andreas Fischer
ac9c4d7d59
[ticket/11162] Make count function upper case.
...
PHPBB3-11162
2012-11-11 17:49:21 +01:00