1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/11620] Minor changes to tests for coding standards

PHPBB3-11620
This commit is contained in:
Andy Chase
2013-07-08 16:34:46 -07:00
parent 3999d7ec7c
commit cd1fe789d2
4 changed files with 28 additions and 20 deletions

View File

@@ -33,11 +33,11 @@ class phpbb_session_create_test extends phpbb_database_test_case
return array(array(
'bot_agent' => $bot_agent,
'user_id' => $user_id,
'bot_ip' => $bot_ip
'bot_ip' => $bot_ip,
));
}
function test_bot_session ()
function test_bot_session()
{
$output = $this->session_facade->session_create(
false,
@@ -50,6 +50,6 @@ class phpbb_session_create_test extends phpbb_database_test_case
self::bot('user agent', 13, '127.0.0.1'),
''
);
$this->assertEquals($output->data['is_bot'], true, "should be a bot");
$this->assertEquals($output->data['is_bot'], true, 'should be a bot');
}
}