mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Fixed test failing from missing baseURL
Also updated image upload test to delete before upload to prevent failed tests breaking subsequent tests.
This commit is contained in:
@ -17,6 +17,12 @@ abstract class BrowserKitTest extends TestCase
|
||||
private $admin;
|
||||
private $editor;
|
||||
|
||||
/**
|
||||
* The base URL to use while testing the application.
|
||||
* @var string
|
||||
*/
|
||||
protected $baseUrl = 'http://localhost';
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
\DB::disconnect();
|
||||
|
Reference in New Issue
Block a user