From ac63a082aaf4963661bf64ebdfb45de41b563571 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 12 Feb 2017 11:53:04 +0100 Subject: [PATCH] Update attachment controller test. --- .../Controllers/AttachmentControllerTest.php | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/tests/Feature/Controllers/AttachmentControllerTest.php b/tests/Feature/Controllers/AttachmentControllerTest.php index b7d84ad060..39f8cab2b6 100644 --- a/tests/Feature/Controllers/AttachmentControllerTest.php +++ b/tests/Feature/Controllers/AttachmentControllerTest.php @@ -23,10 +23,10 @@ class AttachmentControllerTest extends TestCase public function testDelete() { $this->be($this->user()); - $this->call('GET', route('attachments.delete', [1])); - $this->assertResponseStatus(200); + $response = $this->get(route('attachments.delete', [1])); + $response->assertStatus(200); // has bread crumb - $this->see('