mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Automatic linting fixes
This commit is contained in:
parent
7eb04121a6
commit
c4b2782ce0
@ -316,10 +316,10 @@ class VirtualPage extends Page
|
|||||||
new LiteralField(
|
new LiteralField(
|
||||||
'VirtualPageWarning',
|
'VirtualPageWarning',
|
||||||
'<div class="message notice">'
|
'<div class="message notice">'
|
||||||
. _t(
|
. _t(
|
||||||
'SilverStripe\\CMS\\Model\\SiteTree.VIRTUALPAGEWARNINGSETTINGS',
|
'SilverStripe\\CMS\\Model\\SiteTree.VIRTUALPAGEWARNINGSETTINGS',
|
||||||
'Please choose a linked page in the main content fields in order to publish'
|
'Please choose a linked page in the main content fields in order to publish'
|
||||||
)
|
)
|
||||||
. '</div>'
|
. '</div>'
|
||||||
),
|
),
|
||||||
'ClassName'
|
'ClassName'
|
||||||
|
@ -151,13 +151,13 @@ class CMSMainTest extends FunctionalTest
|
|||||||
//$this->assertRegexp('/Done: Published 4 pages/', $response->getBody())
|
//$this->assertRegexp('/Done: Published 4 pages/', $response->getBody())
|
||||||
|
|
||||||
/*
|
/*
|
||||||
$response = Director::test("admin/pages/publishitems", array(
|
$response = Director::test("admin/pages/publishitems", array(
|
||||||
'ID' => ''
|
'ID' => ''
|
||||||
'Title' => ''
|
'Title' => ''
|
||||||
'action_publish' => 'Save and publish',
|
'action_publish' => 'Save and publish',
|
||||||
), $session);
|
), $session);
|
||||||
$this->assertRegexp('/Done: Published 4 pages/', $response->getBody())
|
$this->assertRegexp('/Done: Published 4 pages/', $response->getBody())
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user