From e15bb05823cb89f75c495c8c27364fbbe5bd7d88 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 12 Feb 2017 11:47:22 +0100 Subject: [PATCH] New test for attachments. --- .../Controllers/AttachmentControllerTest.php | 112 ++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 tests/Feature/Controllers/AttachmentControllerTest.php diff --git a/tests/Feature/Controllers/AttachmentControllerTest.php b/tests/Feature/Controllers/AttachmentControllerTest.php new file mode 100644 index 0000000000..b7d84ad060 --- /dev/null +++ b/tests/Feature/Controllers/AttachmentControllerTest.php @@ -0,0 +1,112 @@ +be($this->user()); + $this->call('GET', route('attachments.delete', [1])); + $this->assertResponseStatus(200); + // has bread crumb + $this->see('