]> BookStack Code Mirror - bookstack/blobdiff - tests/AttachmentTest.php
#47 - Fixes the issues with the test case.
[bookstack] / tests / AttachmentTest.php
index f99051a72a569fdcc680e71314d7b09fbbf05bbb..a17f003dbb3f8af95d8cb8b39fd50d98d3f08bd7 100644 (file)
@@ -1,4 +1,4 @@
-<?php
+<?php namespace Tests;
 
 class AttachmentTest extends BrowserKitTest
 {
@@ -75,7 +75,6 @@ class AttachmentTest extends BrowserKitTest
     {
         $page = \BookStack\Page::first();
         $this->asAdmin();
-        $admin = $this->getAdmin();
         $fileName = 'upload_test_file.txt';
 
         $this->uploadFile($fileName, $page->id);