◆ testCreateCertificateTemplate()
ilCertificateTemplateTest::testCreateCertificateTemplate |
( |
| ) |
|
Definition at line 9 of file ilCertificateTemplateTest.php.
References $template, and $time.
17 md5(
'<xml>crs</xml>'),
23 '/some/where/background.jpg',
24 '/some/where/thumbnail.svg',
28 $this->assertEquals(100,
$template->getObjId());
29 $this->assertEquals(
'crs',
$template->getObjType());
30 $this->assertEquals(
'<xml>crs</xml>',
$template->getCertificateContent());
31 $this->assertEquals(md5(
'<xml>crs</xml>'),
$template->getCertificateHash());
32 $this->assertEquals(
'1',
$template->getVersion());
33 $this->assertEquals(
'v5.4.0',
$template->getIliasVersion());
35 $this->assertEquals(
true,
$template->isCurrentlyActive());
36 $this->assertEquals(
'/some/where/background.jpg',
$template->getBackgroundImagePath());
37 $this->assertEquals(555,
$template->getId());
The documentation for this class was generated from the following file: