mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2404 from open-sausages/pulls/4/flushing-tests
Remove flush from CMSPageHistoryControllerTest
This commit is contained in:
commit
a4f86605f4
@ -108,7 +108,8 @@ class CMSPageHistoryControllerTest extends FunctionalTest
|
|||||||
*/
|
*/
|
||||||
public function testVersionsForm()
|
public function testVersionsForm()
|
||||||
{
|
{
|
||||||
$this->get('admin/pages/legacyhistory/show/'. $this->page->ID . '?flush');
|
$this->get('admin/pages/legacyhistory/show/'. $this->page->ID);
|
||||||
|
|
||||||
$form = $this->cssParser()->getBySelector('#Form_VersionsForm');
|
$form = $this->cssParser()->getBySelector('#Form_VersionsForm');
|
||||||
|
|
||||||
$this->assertEquals(1, count($form));
|
$this->assertEquals(1, count($form));
|
||||||
|
Loading…
Reference in New Issue
Block a user