Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F10702237
About.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
850 B
Referenced Files
None
Subscribers
None
About.php
View Options
<?php
/**
* Test class to test rcmail_action_settings_about
*
* @package Tests
*/
class
Actions_Settings_About
extends
ActionTestCase
{
/**
* Test run() method
*/
function
test_run
()
{
$action
=
new
rcmail_action_settings_about
;
$output
=
$this
->
initOutput
(
rcmail_action
::
MODE_HTTP
,
'settings'
,
'about'
);
$this
->
assertInstanceOf
(
'rcmail_action'
,
$action
);
$this
->
assertTrue
(
$action
->
checks
());
$this
->
runAndAssert
(
$action
,
OutputHtmlMock
::
E_EXIT
);
$result
=
$output
->
getOutput
();
$this
->
assertSame
(
'about'
,
$output
->
template
);
$this
->
assertSame
(
'About'
,
$output
->
getProperty
(
'pagetitle'
));
$this
->
assertTrue
(
stripos
(
$result
,
"<!DOCTYPE html>"
)
===
0
);
$this
->
assertTrue
(
strpos
(
$result
,
"This program is free software"
)
!==
false
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Sep 7, 1:03 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1137623
Default Alt Text
About.php (850 B)
Attached To
Mode
R3 roundcubemail
Attached
Detach File
Event Timeline
Log In to Comment