◆ testCreateUserCertificate()
ilUserCertificateTest::testCreateUserCertificate |
( |
| ) |
|
Definition at line 9 of file ilUserCertificateTest.php.
18 '<xml>Some Content</xml>',
24 '/some/where/background.jpg',
25 '/some/where/thumbnail.svg',
29 $this->assertEquals(1, $userCertificate->getPatternCertificateId());
30 $this->assertEquals(20, $userCertificate->getObjId());
31 $this->assertEquals(
'crs', $userCertificate->getObjType());
32 $this->assertEquals(400, $userCertificate->getUserId());
33 $this->assertEquals(
'Niels Theen', $userCertificate->getUserName());
34 $this->assertEquals(123456789, $userCertificate->getAcquiredTimestamp());
35 $this->assertEquals(
'<xml>Some Content</xml>', $userCertificate->getCertificateContent());
36 $this->assertEquals(
'[]', $userCertificate->getTemplateValues());
37 $this->assertEquals(null, $userCertificate->getValidUntil());
38 $this->assertEquals(1, $userCertificate->getVersion());
39 $this->assertEquals(
'v5.4.0', $userCertificate->getIliasVersion());
40 $this->assertEquals(
true, $userCertificate->isCurrentlyActive());
41 $this->assertEquals(
'/some/where/background.jpg', $userCertificate->getBackgroundImagePath());
42 $this->assertEquals(140, $userCertificate->getId());
The documentation for this class was generated from the following file: