mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-11 12:51:57 +00:00
113 - Viewing the Update Form
Just the view, saving changes not yet implemented.
This commit is contained in:
@@ -4,6 +4,7 @@ namespace Tests;
|
||||
|
||||
use Exception;
|
||||
use App\Exceptions\Handler;
|
||||
use Illuminate\Foundation\Testing\TestResponse;
|
||||
use Illuminate\Contracts\Debug\ExceptionHandler;
|
||||
|
||||
abstract class TestCase extends \Illuminate\Foundation\Testing\TestCase
|
||||
@@ -20,6 +21,10 @@ abstract class TestCase extends \Illuminate\Foundation\Testing\TestCase
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
TestResponse::macro('data', function ($key) {
|
||||
return $this->original->getData()[$key];
|
||||
});
|
||||
}
|
||||
|
||||
protected function disableExceptionHandling()
|
||||
|
||||
Reference in New Issue
Block a user