Remove flush from CMSPageHistoryControllerTest

flushing in tests is futile
This commit is contained in:
Serge Latyntcev 2019-04-01 10:58:53 +13:00
parent 4cf0d29c3c
commit de5fc49917

View File

@ -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));