◆ testCreateCertificateTemplate()
ilCertificateTemplateTest::testCreateCertificateTemplate |
( |
| ) |
|
Definition at line 26 of file ilCertificateTemplateTest.php.
34 md5(
'<xml>crs</xml>'),
40 '/some/where/background.jpg',
41 '/some/where/thumbnail.svg',
45 $this->assertSame(100, $template->getObjId());
46 $this->assertSame(
'crs', $template->getObjType());
47 $this->assertSame(
'<xml>crs</xml>', $template->getCertificateContent());
48 $this->assertSame(md5(
'<xml>crs</xml>'), $template->getCertificateHash());
49 $this->assertSame(1, $template->getVersion());
50 $this->assertSame(
'v5.4.0', $template->getIliasVersion());
51 $this->assertSame($time, $template->getCreatedTimestamp());
52 $this->assertTrue($template->isCurrentlyActive());
53 $this->assertSame(
'/some/where/background.jpg', $template->getBackgroundImagePath());
54 $this->assertSame(555, $template->getId());
The documentation for this class was generated from the following file: