mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12932] Fix tests and calls to create_datetime
PHPBB3-12932
This commit is contained in:
@@ -30,7 +30,7 @@ class phpbb_version_helper_test extends phpbb_test_case
|
||||
new \phpbb\config\config(array(
|
||||
'version' => '3.1.0',
|
||||
)),
|
||||
new \phpbb\user()
|
||||
new \phpbb\user('\phpbb\datetime')
|
||||
);
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ class phpbb_version_helper_test extends phpbb_test_case
|
||||
new \phpbb\config\config(array(
|
||||
'version' => $current_version,
|
||||
)),
|
||||
new \phpbb\user(),
|
||||
new \phpbb\user('\phpbb\datetime'),
|
||||
))
|
||||
->getMock()
|
||||
;
|
||||
@@ -318,7 +318,7 @@ class phpbb_version_helper_test extends phpbb_test_case
|
||||
new \phpbb\config\config(array(
|
||||
'version' => $current_version,
|
||||
)),
|
||||
new \phpbb\user(),
|
||||
new \phpbb\user('\phpbb\datetime'),
|
||||
))
|
||||
->getMock()
|
||||
;
|
||||
|
Reference in New Issue
Block a user