]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/PageDraftTest.php
Fixes for CodeStyle vol.2
[bookstack] / tests / Entity / PageDraftTest.php
index 0e3980c6702217cd10043748a9d8ad89dbb18bcc..68059af6e7126d1c2b75487d425b6c684a8aca3e 100644 (file)
@@ -1,4 +1,6 @@
-<?php namespace Tests\Entity;
+<?php
+
+namespace Tests\Entity;
 
 use BookStack\Entities\Models\Page;
 use BookStack\Entities\Repos\PageRepo;
@@ -68,7 +70,7 @@ class PageDraftTest extends BrowserKitTest
         $this->actingAs($newUser)
             ->visit($this->page->getUrl('/edit'))
             ->see('Admin has started editing this page');
-            $this->flushSession();
+        $this->flushSession();
         $this->visit($nonEditedPage->getUrl() . '/edit')
             ->dontSeeInElement('.notification', 'Admin has started editing this page');
     }
@@ -112,5 +114,4 @@ class PageDraftTest extends BrowserKitTest
             'html' => $page->html,
         ]);
     }
-
 }