Merge pull request #2404 from open-sausages/pulls/4/flushing-tests

Remove flush from CMSPageHistoryControllerTest
This commit is contained in:
Robbie Averill 2019-04-01 11:26:31 +13:00 committed by GitHub
commit a4f86605f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,8 @@ class CMSPageHistoryControllerTest extends FunctionalTest
*/
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');
$this->assertEquals(1, count($form));