mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/11224] Adds a test case
PHPBB3-11224
This commit is contained in:
parent
d53336af06
commit
74a96bf7c2
1 changed files with 16 additions and 0 deletions
16
tests/cache/cache_memory_test.php
vendored
16
tests/cache/cache_memory_test.php
vendored
|
@ -73,6 +73,22 @@ class phpbb_cache_memory_test extends phpbb_database_test_case
|
|||
),
|
||||
POSTS_TABLE,
|
||||
),
|
||||
array(
|
||||
array(
|
||||
array(
|
||||
'SELECT * FROM ' . POSTS_TABLE . ' p
|
||||
LEFT JOIN ' . TOPICS_TABLE . ' t ON p.topic_id = t.topic_id',
|
||||
3,
|
||||
),
|
||||
array(
|
||||
'SELECT * FROM ' . POSTS_TABLE . ' p
|
||||
LEFT JOIN ' . TOPICS_TABLE . ' t ON p.topic_id = t.topic_id
|
||||
LEFT JOIN ' . USERS_TABLE . ' u ON p.poster_id = u.user_id',
|
||||
3,
|
||||
),
|
||||
),
|
||||
TOPICS_TABLE,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue