]> BookStack Code Mirror - bookstack/blobdiff - tests/AttachmentTest.php
Added migration file.
[bookstack] / tests / AttachmentTest.php
index df625bcc9da4b56e9ec17d609b36fccdf683fae0..a17f003dbb3f8af95d8cb8b39fd50d98d3f08bd7 100644 (file)
@@ -1,6 +1,6 @@
-<?php
+<?php namespace Tests;
 
-class AttachmentTest extends TestCase
+class AttachmentTest extends BrowserKitTest
 {
     /**
      * Get a test file that can be uploaded
@@ -75,7 +75,6 @@ class AttachmentTest extends TestCase
     {
         $page = \BookStack\Page::first();
         $this->asAdmin();
-        $admin = $this->getAdmin();
         $fileName = 'upload_test_file.txt';
 
         $this->uploadFile($fileName, $page->id);