mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-04-06 00:52:57 +00:00
Fixed formatting in session helper test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6777 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
2109b9e909
commit
a53d308fa3
1 changed files with 20 additions and 20 deletions
|
@ -46,26 +46,26 @@ class SessionHelperTest extends CakeTestCase {
|
||||||
$this->Session->__start();
|
$this->Session->__start();
|
||||||
|
|
||||||
$_SESSION = array('test' => 'info',
|
$_SESSION = array('test' => 'info',
|
||||||
'Message' => array(
|
'Message' => array(
|
||||||
'flash' => array(
|
'flash' => array(
|
||||||
'layout' => 'default',
|
'layout' => 'default',
|
||||||
'params' => array(),
|
'params' => array(),
|
||||||
'message' => 'This is a calling'
|
'message' => 'This is a calling'
|
||||||
),
|
),
|
||||||
'notification' => array(
|
'notification' => array(
|
||||||
'layout' => 'sessionHelper',
|
'layout' => 'sessionHelper',
|
||||||
'params' => array('title' => 'Notice!',
|
'params' => array('title' => 'Notice!',
|
||||||
'name' => 'Alert!'),
|
'name' => 'Alert!'),
|
||||||
'message' => 'This is a test of the emergency broadcasting system',
|
'message' => 'This is a test of the emergency broadcasting system',
|
||||||
),
|
),
|
||||||
'bare' => array(
|
'bare' => array(
|
||||||
'layout' => null,
|
'layout' => null,
|
||||||
'message' => 'Bare message',
|
'message' => 'Bare message',
|
||||||
'params' => array(),
|
'params' => array(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'Deeply' => array('nested' => array('key' => 'value')),
|
'Deeply' => array('nested' => array('key' => 'value')),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function tearDown() {
|
function tearDown() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue