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:
Dan Brown
2018-01-28 13:27:41 +00:00
parent 88d09a2a3b
commit ba6eb6727a
2 changed files with 14 additions and 4 deletions

View File

@ -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();