Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4100079
UserEntityTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
607 B
Referenced Files
None
Subscribers
None
UserEntityTest.php
View Options
<?php
namespace
MediaWiki\Extension\OAuth\Tests\Entity
;
use
MediaWiki\Extension\OAuth\Entity\UserEntity
;
use
MediaWikiIntegrationTestCase
;
/**
* @covers \MediaWiki\Extension\OAuth\Entity\UserEntity
* @group OAuth
* @group Database
*/
class
UserEntityTest
extends
MediaWikiIntegrationTestCase
{
public
function
testProperties
()
{
$userEntity
=
UserEntity
::
newFromMWUser
(
$this
->
getTestUser
()->
getUser
()
);
$this
->
assertSame
(
$this
->
getTestUser
()->
getUser
()->
getId
(),
$userEntity
->
getIdentifier
(),
'User identifier should be the same as the id of the user it represents'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 16:13 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a7/9a/a6560af160e74cb2065f770cd50d
Default Alt Text
UserEntityTest.php (607 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment