aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/logging/DatabaseLogEntryTest.php
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2025-03-17 19:12:53 -0400
committerReedy <reedy@wikimedia.org>2025-03-19 15:25:22 +0000
commit12a22969efc617ec8d4c0de06dab237e74c75eb3 (patch)
tree58f94a3d7cfe376e8a5d967c5dee0f248371d5a3 /tests/phpunit/includes/logging/DatabaseLogEntryTest.php
parentaf413e5ac4f5c7fd3ee57d72ae598351493316a9 (diff)
downloadmediawikicore-12a22969efc617ec8d4c0de06dab237e74c75eb3.tar.gz
mediawikicore-12a22969efc617ec8d4c0de06dab237e74c75eb3.zip
Namespace all remaining files in includes/logging
Bug: T353458 Change-Id: Ibe1810f1c71316a9124e1dc6ae405097dafd5267
Diffstat (limited to 'tests/phpunit/includes/logging/DatabaseLogEntryTest.php')
-rw-r--r--tests/phpunit/includes/logging/DatabaseLogEntryTest.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/phpunit/includes/logging/DatabaseLogEntryTest.php b/tests/phpunit/includes/logging/DatabaseLogEntryTest.php
index 307de195b54e..35a8fae988cc 100644
--- a/tests/phpunit/includes/logging/DatabaseLogEntryTest.php
+++ b/tests/phpunit/includes/logging/DatabaseLogEntryTest.php
@@ -1,5 +1,6 @@
<?php
+use MediaWiki\Logging\DatabaseLogEntry;
use MediaWiki\User\ActorStore;
use MediaWiki\User\UserIdentity;
use MediaWiki\User\UserIdentityValue;
@@ -11,8 +12,8 @@ use Wikimedia\Rdbms\IReadableDatabase;
class DatabaseLogEntryTest extends MediaWikiIntegrationTestCase {
/**
- * @covers \DatabaseLogEntry::newFromId
- * @covers \DatabaseLogEntry::getSelectQueryData
+ * @covers \MediaWiki\Logging\DatabaseLogEntry::newFromId
+ * @covers \MediaWiki\Logging\DatabaseLogEntry::getSelectQueryData
*
* @dataProvider provideNewFromId
*
@@ -33,7 +34,7 @@ class DatabaseLogEntryTest extends MediaWikiIntegrationTestCase {
->with( $selectFields['tables'],
$selectFields['fields'],
$selectFields['conds'],
- 'DatabaseLogEntry::newFromId',
+ DatabaseLogEntry::class . '::newFromId',
$selectFields['options'],
$selectFields['join_conds']
)
@@ -140,7 +141,7 @@ class DatabaseLogEntryTest extends MediaWikiIntegrationTestCase {
/**
* @dataProvider provideGetPerformerIdentity
- * @covers \DatabaseLogEntry::getPerformerIdentity
+ * @covers \MediaWiki\Logging\DatabaseLogEntry::getPerformerIdentity
*/
public function testGetPerformer( array $actorRowFields, UserIdentity $expected ) {
$logEntry = DatabaseLogEntry::newFromRow( [