1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added transclusion tests and fixed other tests

This commit is contained in:
Dan Brown
2017-01-21 16:16:27 +00:00
parent 56d58ad8e5
commit 2d4034f3b7
4 changed files with 42 additions and 53 deletions

View File

@ -60,7 +60,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
*/
public function asEditor()
{
if($this->editor === null) {
if ($this->editor === null) {
$this->editor = $this->getEditor();
}
return $this->actingAs($this->editor);