N°3905 - Polishing: CSV Import

This commit is contained in:
acognet
2021-06-18 13:50:27 +02:00
parent e905838733
commit 224031e0d6
2 changed files with 16 additions and 1 deletions

View File

@@ -125,6 +125,18 @@ class DBObjectTest extends ItopDataTestCase
static::assertEquals('Romain Duris', $oObject->Get('friendlyname'));
}
/**
* @covers DBObject::Get
* @covers DBObject::Set
*/
public function testFriendlyNameLnk()
{
$oUserProfile = new \URP_UserProfile();
$oUserProfile->Set('profileid', 2);
static::assertEquals('', $oUserProfile->Get('friendlyname'));
}
/**
* @covers DBObject::NewObject
* @covers DBObject::Get