diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-13 00:12:21 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-13 00:12:21 +0200 |
commit | be46f0bc100df1cb7e1fbb361cd586c5fa336d0c (patch) | |
tree | 21096a5dce65722b12871bad92fa6f3622ed6aa2 /tests/unit/controller | |
parent | 6bceeea837f7412589317c1d08848238ba677862 (diff) |
remove dead code
Diffstat (limited to 'tests/unit/controller')
-rw-r--r-- | tests/unit/controller/ItemControllerTest.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/unit/controller/ItemControllerTest.php b/tests/unit/controller/ItemControllerTest.php index 20876555a..15701bd6d 100644 --- a/tests/unit/controller/ItemControllerTest.php +++ b/tests/unit/controller/ItemControllerTest.php @@ -123,8 +123,7 @@ class ItemControllerTest extends ControllerTestUtility { ->method('read') ->with($url['itemId'], true, $this->user); - - $result = $this->controller->read(); + $this->controller->read(); } @@ -198,7 +197,7 @@ class ItemControllerTest extends ControllerTestUtility { $this->equalTo(true), $this->equalTo($this->user)); - $response = $this->controller->star(); + $this->controller->star(); } @@ -237,7 +236,7 @@ class ItemControllerTest extends ControllerTestUtility { $this->equalTo(false), $this->equalTo($this->user)); - $response = $this->controller->unstar(); + $this->controller->unstar(); } |