1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 00:37:42 +02:00

[ticket/9687] Fix code style and tests

PHPBB3-9687
This commit is contained in:
Oliver Schramm
2018-10-01 23:40:15 +02:00
committed by Marc Alexander
parent 64ab1fc24c
commit e7015bf1dd
17 changed files with 78 additions and 55 deletions

View File

@@ -153,9 +153,9 @@ class phpbb_boolean_processor_test extends phpbb_database_test_case
'LEFT_JOIN' => array(
array(
'FROM' => array(
'phpbb_banlist' => 'b',
'phpbb_bans' => 'b',
),
'ON' => 'u.user_id = b.ban_userid',
'ON' => 'b.ban_item = ' . $db->cast_expr_to_string('u.user_id'),
),
),
'WHERE' => array('AND',
@@ -172,6 +172,7 @@ class phpbb_boolean_processor_test extends phpbb_database_test_case
array(
array('ug.group_id', '=', 1),
array('b.ban_id', 'IS_NOT', NULL),
array('b.ban_mode', '=', "'user'"),
),
),
),
@@ -290,9 +291,9 @@ class phpbb_boolean_processor_test extends phpbb_database_test_case
'LEFT_JOIN' => array(
array(
'FROM' => array(
'phpbb_banlist' => 'b',
'phpbb_bans' => 'b',
),
'ON' => 'u.user_id = b.ban_userid',
'ON' => 'b.ban_item = ' . $db->cast_expr_to_string('u.user_id'),
),
),
'WHERE' => array('AND',