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(
|
||||
'VirtualPageWarning',
|
||||
'<div class="message notice">'
|
||||
. _t(
|
||||
'SilverStripe\\CMS\\Model\\SiteTree.VIRTUALPAGEWARNINGSETTINGS',
|
||||
'Please choose a linked page in the main content fields in order to publish'
|
||||
)
|
||||
. _t(
|
||||
'SilverStripe\\CMS\\Model\\SiteTree.VIRTUALPAGEWARNINGSETTINGS',
|
||||
'Please choose a linked page in the main content fields in order to publish'
|
||||
)
|
||||
. '</div>'
|
||||
),
|
||||
'ClassName'
|
||||
|
@ -151,13 +151,13 @@ class CMSMainTest extends FunctionalTest
|
||||
//$this->assertRegexp('/Done: Published 4 pages/', $response->getBody())
|
||||
|
||||
/*
|
||||
$response = Director::test("admin/pages/publishitems", array(
|
||||
'ID' => ''
|
||||
'Title' => ''
|
||||
'action_publish' => 'Save and publish',
|
||||
), $session);
|
||||
$this->assertRegexp('/Done: Published 4 pages/', $response->getBody())
|
||||
*/
|
||||
$response = Director::test("admin/pages/publishitems", array(
|
||||
'ID' => ''
|
||||
'Title' => ''
|
||||
'action_publish' => 'Save and publish',
|
||||
), $session);
|
||||
$this->assertRegexp('/Done: Published 4 pages/', $response->getBody())
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user