]> BookStack Code Mirror - bookstack/blobdiff - tests/TestCase.php
Added tests and translations for dark-mode components
[bookstack] / tests / TestCase.php
index f20b20fd83146cc9d84fb0bb9facbce126a548c0..1f1d5ece7288e88575b49975848812bac5915173 100644 (file)
@@ -16,19 +16,6 @@ abstract class TestCase extends BaseTestCase
      */
     protected $baseUrl = 'http://localhost';
 
-    /**
-     * Assert a permission error has occurred.
-     * @param TestResponse $response
-     * @return TestCase
-     */
-    protected function assertPermissionError(TestResponse $response)
-    {
-        $response->assertRedirect('/');
-        $this->assertSessionHas('error');
-        session()->remove('error');
-        return $this;
-    }
-
     /**
      * Assert the session contains a specific entry.
      * @param string $key