expand tests

This commit is contained in:
James Cole
2016-02-04 07:30:48 +01:00
parent fb119cc208
commit 3690a53dc9
28 changed files with 432 additions and 325 deletions

View File

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