mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-22 03:01:21 +00:00
expand tests
This commit is contained in:
@@ -15,6 +15,7 @@ class AttachmentControllerTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\AttachmentController::delete
|
||||
* @covers FireflyIII\Http\Controllers\AttachmentController::__construct
|
||||
*/
|
||||
public function testDelete()
|
||||
{
|
||||
@@ -42,6 +43,8 @@ class AttachmentControllerTest extends TestCase
|
||||
$this->be($this->user());
|
||||
$this->call('GET', '/attachment/download/1');
|
||||
$this->assertResponseStatus(200);
|
||||
// must have certain headers
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -66,6 +69,8 @@ class AttachmentControllerTest extends TestCase
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\AttachmentController::update
|
||||
* @covers FireflyIII\Http\Requests\AttachmentFormRequest::authorize
|
||||
* @covers FireflyIII\Http\Requests\AttachmentFormRequest::rules
|
||||
*/
|
||||
public function testUpdate()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user