| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The previous drop column test already deleted the primary key, so that one was
replaced with an ordinary column.
PHPBB3-10247
|
| |
|
|
| |
PHPBB3-9892
|
| |
|
|
| |
PHPBB3-9892
|
| |
|
|
|
|
|
|
|
|
| |
The test creates a table and runs a number of queries on it to judge whether
the selected column types can hold the data they are expected to contain.
Additional test methods check the auto increment feature and a few of the
basic commands of db_tools. This is only a starting point. Plenty more
tests need to be added.
PHPBB3-9892
|
| |
|
|
|
|
| |
Instead a warning is triggered and an explanation echo'd.
PHPBB3-10206
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
* ticket/rxu/217:
[ticket/217] Use positive assertions in tests.
[ticket/217] Silence errors in tests, not code.
[ticket/217] Use positive parameter statement for bbcode_init()
[ticket/217] Adjust patch, add tests
[ticket/217] Multiline [url] not converted
|
| | |
| |
| |
| | |
PHPBB3-217
|
| | |
| |
| |
| |
| |
| | |
Use a mock user object for testing bbcode.
PHPBB3-217
|
| | |
| |
| |
| | |
PHPBB3-217
|
| | |
| |
| |
| | |
PHPBB3-217
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
* naderman/ticket/10005:
[ticket/10005] Add description to test cases
[ticket/10005] Add validation of dropdown custom profile field values
|
| | | |
| | |
| | |
| | | |
PHPBB3-10005
|
| | | |
| | |
| | |
| | | |
PHPBB3-10005
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
* ticket/bantu/10042:
[ticket/10042] GD CAPTCHA: Call phpbb_mt_rand() where required.
[ticket/10042] GD CAPTCHA: Round offset to the next pixel.
[ticket/10042] Add mt_rand() wrapper which allows swapping $min and $max.
|
| | | |
| | |
| | |
| | | |
PHPBB3-10042
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| | |
If a database is unable to nest transactions the dbal should implement
sql_buffer_nested_transactions to signal that buffering of the outer
results and closing of the outer transaction is required to open the
inner transaction.
PHPBB3-9685
|
| | |
| |
| |
| | |
PHPBB3-9751
|
| |\ \
| | |
| | |
| | |
| | | |
* ticket/bantu/10082:
[ticket/10082] session_id is CHAR(32) not VARCHAR(32), so give them a CHAR(32).
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This fixes session unit tests on PostgreSQL in particular.
PHPBB3-10082
|
| | | |
| | |
| | |
| | | |
PHPBB3-10101
|
| |/ /
| |
| |
| | |
PHPBB3-10088
|
| | |
| |
| |
| | |
PHPBB3-10081
|
| | |
| |
| |
| |
| |
| | |
There are no incomplete template tests anymore.
PHPBB3-10081
|
| |/
|
|
| |
PHPBB3-10040
|
| |
|
|
| |
PHPBB3-9732
|
| |
|
|
| |
PHPBB3-9732
|
| |
|
|
| |
PHPBB3-9732
|
| |
|
|
| |
PHPBB3-9732
|
| |
|
|
|
|
|
| |
Regression from PHPBB3-10043, a typo caused the database tests to fail
under MySQL.
PHPBB3-10060
|
| |
|
|
| |
PHPBB3-10052
|
| |
|
|
| |
PHPBB3-10052
|
| |
|
|
|
|
|
| |
This test passes by itself but fails when run as part of the
compete suite. Mark it incomplete to avoid breaking the suite.
PHPBB3-10049
|
| |
|
|
|
|
|
| |
I am unable to find any code revision in which this test worked.
Thus to not break the entire suite I mark it incomplete.
PHPBB3-10049
|
| |
|
|
| |
PHPBB3-10049
|
| |
|
|
|
|
|
|
|
|
|
| |
cd694e9b9dfd59c8be00a52b30db8e6c280b97a9 renamed
assertResultEquals to assertSqlResultEquals. However, since the
session tests were never executed calls in them were never
updated.
Parameter order also changed; chase that too.
PHPBB3-10049
|
| |
|
|
| |
PHPBB3-10049
|
| |
|
|
|
|
|
|
| |
phpunit.xml.dist specifies that only files ending in _test.php
are test files; with the old names session tests were not run
as a result.
PHPBB3-10049
|
| |
|
|
| |
PHPBB3-10043
|
| |
|
|
| |
PHPBB3-10043
|
| |
|
|
|
|
|
|
|
|
|
| |
If database tests cannot be run the error message is ambigous. This
commit makes it clearer:
- whether the supplied dbms is supported by us
- which dbms are supported by us
- whether the required PDO extension is loaded
PHPBB3-10043
|
| |
|
|
|
|
|
|
|
| |
Move most of the methods to a separate connection manager class. The
test case creates a manager to handle database creation, schema loading
and more. Most of the methods could be simplified because they can
access shared pdo, config and dbms data.
PHPBB3-10043
|
| |\
| |
| |
| |
| |
| | |
* ticket/nickvergessen/9949:
[ticket/9949] Unit tests for user::lang()
[ticket/9949] $user->lang() uses last int-value to get the key not first
|
| | |
| |
| |
| | |
PHPBB3-9949
|
| |/
|
|
|
|
|
|
| |
Due to the usage of `__DIR__` for the file includes the tests can't
be ran on systems with PHP < 5.3. Replace all occurances of
`__DIR__` with `dirname(__FILE__)`.
PHPBB3-10011
|
| |
|
|
| |
PHPBB3-9732
|
| |
|
|
| |
PHPBB3-9732
|
| |
|
|
|
|
|
|
|
|
|
| |
Two first simple tests to check functionality of session_begin and
session_create.
Added a mock class for the cache as well as a subclass of session
which has its cookie handling function mocked out to avoid header
sending problems.
PHPBB3-9732
|
| |
|
|
|
|
|
|
|
| |
Rename $unicode to $unicode_support, pass in $use_unicode defaulting to true.
In unit tests we can now pass in $use_unicode as false and also test the code
path that is taken when PCRE does not support unicode.
PHPBB3-9933
|
| |
|
|
| |
PHPBB3-9990
|
| |
|
|
| |
PHPBB3-9990
|